Anirban Rahut
62384ebe9c
Guarding extra fallocate call with TRAVIS because its not working pro…
...
Summary:
…perly on travis
There is some old code in PosixWritableFile::Close(), which
truncates the file to the measured size and then does an extra fallocate
with KEEP_SIZE. This is commented as a failsafe because in some
cases ftruncate doesn't do the right job (I don't know of an instance of
this btw). However doing an fallocate with KEEP_SIZE should not increase
the file size. However on Travis Worker which is Docker (likely AUFS )
its not working. There are comments on web that show that the AUFS
author had initially not implemented fallocate, and then did it later.
So not sure what is the quality of the implementation.
Closes https://github.com/facebook/rocksdb/pull/1765
Differential Revision: D4401340
Pulled By: anirbanr-fb
fbshipit-source-id: e2d8100
2017-01-11 14:24:13 -08:00
..
2016-12-22 13:09:19 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-10-28 10:44:52 -07:00
2016-02-09 15:12:00 -08:00
2016-05-20 07:42:18 -07:00
2016-12-05 17:39:17 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-10-25 11:31:39 -07:00
2016-02-09 15:12:00 -08:00
2016-08-19 12:28:19 -07:00
2017-01-10 16:54:20 -08:00
2016-11-21 12:24:13 -08:00
2016-11-21 12:24:13 -08:00
2016-02-09 15:12:00 -08:00
2017-01-10 16:54:20 -08:00
2016-08-19 12:28:19 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-08-19 15:10:31 -07:00
2016-08-16 08:21:43 -07:00
2016-04-25 23:02:14 -07:00
2016-11-21 12:24:14 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-21 17:54:21 -08:00
2016-12-21 17:54:21 -08:00
2016-12-21 17:54:21 -08:00
2016-12-16 11:24:18 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-12-14 17:09:14 -08:00
2016-09-13 12:08:22 -07:00
2016-05-06 17:42:50 -07:00
2016-12-12 12:54:13 -08:00
2016-12-22 13:09:19 -08:00
2017-01-09 15:54:12 -08:00
2016-12-22 13:09:19 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-12-16 11:24:18 -08:00
2016-05-10 14:06:07 -07:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-28 19:09:16 -08:00
2016-12-28 19:09:16 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-11-19 11:39:15 -08:00
2016-12-01 10:09:22 -08:00
2016-11-13 19:09:18 -08:00
2016-02-09 15:12:00 -08:00
2016-12-01 13:39:14 -08:00
2016-03-11 22:56:25 -08:00
2016-03-17 14:28:41 -07:00
2016-03-11 16:54:25 -08:00
2016-12-13 14:09:12 -08:00
2016-03-11 16:54:25 -08:00
2016-10-24 10:35:00 -07:00
2016-02-09 15:12:00 -08:00
2017-01-11 14:24:13 -08:00
2016-12-22 13:09:19 -08:00
2016-02-09 15:12:00 -08:00
2016-02-23 10:26:24 -08:00
2016-02-23 10:26:24 -08:00
2016-11-09 15:09:18 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-12-22 13:09:19 -08:00
2016-12-13 18:39:14 -08:00
2016-02-09 15:12:00 -08:00
2016-08-19 16:43:31 -07:00
2017-01-10 16:54:20 -08:00
2017-01-10 16:54:20 -08:00
2016-12-22 13:09:19 -08:00
2016-11-15 20:24:13 -08:00
2016-06-03 15:13:03 -07:00
2016-12-22 13:09:19 -08:00
2016-02-09 15:12:00 -08:00
2016-12-14 19:24:25 -08:00
2016-02-09 15:12:00 -08:00
2016-07-19 12:01:46 -07:00
2017-01-06 11:24:14 -08:00
2016-12-22 13:09:19 -08:00
2016-10-14 13:09:18 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-12-22 13:09:19 -08:00
2016-02-17 20:22:40 +08:00
2016-11-28 10:24:11 -08:00
2016-02-09 15:12:00 -08:00
2016-06-01 09:07:09 -07:00
2016-02-09 15:12:00 -08:00
2016-10-29 16:09:18 -07:00
2016-12-13 18:39:14 -08:00
2016-03-16 22:57:57 +01:00
2016-10-13 14:26:12 -07:00
2016-07-01 00:16:29 -07:00
2016-05-27 16:15:28 -07:00
2017-01-10 16:54:20 -08:00
2017-01-10 16:54:20 -08:00
2016-02-09 15:12:00 -08:00
2016-06-10 16:37:36 -07:00
2016-12-21 17:54:21 -08:00
2016-12-21 17:54:21 -08:00
2016-07-25 16:05:50 -07:00
2016-11-20 18:24:12 -08:00
2016-10-11 10:54:11 -07:00
2016-09-07 12:37:45 -07:00
2017-01-03 18:39:14 -08:00
2016-04-01 11:06:06 -07:00
2016-08-02 14:53:29 -07:00
2016-02-09 15:12:00 -08:00
2016-06-29 07:35:17 -07:00
2016-12-16 11:24:18 -08:00
2016-12-16 11:24:18 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2017-01-08 14:24:12 -08:00
2016-10-18 16:59:37 -07:00
2016-12-13 18:39:14 -08:00
2016-08-23 13:34:56 -07:00
2016-12-13 18:39:14 -08:00
2016-12-16 11:24:18 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-02-09 15:12:00 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-12-13 18:39:14 -08:00
2016-08-26 10:41:35 -07:00
2016-12-14 19:24:26 -08:00
2016-03-15 10:57:33 -07:00
2016-02-09 15:12:00 -08:00
2016-12-16 11:24:18 -08:00
2015-11-18 16:23:19 -08:00
2015-03-12 12:07:10 -07:00