sdong 976caca09b Skip AllocateTest if fallocate() is not supported in the file system
Summary: To avoid false positive test failures when the file system doesn't support fallocate. In EnvTest.AllocateTest, we first make a simple fallocate call and check the error codes to rule out the possibility that it is not supported. Skip the test if the error code indicates it is not supported.

Test Plan: Run the test and make sure it passes on file systems supporting and not supporting fallocate

Reviewers: yhchiang, ljin, igor

Reviewed By: igor

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D23667
2014-09-19 10:55:59 -07:00
..
2014-08-14 17:01:20 -07:00
2014-05-08 13:50:49 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-09-16 10:30:32 -07:00
2014-05-02 16:24:04 -04:00
2014-05-02 16:24:04 -04:00
2014-08-19 09:52:54 -04:00
2014-08-19 06:48:21 -07:00
2014-08-19 06:48:21 -07:00
2014-04-04 14:03:19 -07:00
2014-09-05 14:14:37 +08:00
2014-05-21 07:54:22 -04:00
2014-07-08 12:31:49 -07:00
2014-08-11 13:22:47 -04:00
2014-09-04 23:06:23 +08:00
2014-09-04 23:06:23 +08:00
2014-08-28 12:46:05 -04:00
2014-08-28 12:46:05 -04:00
2014-03-21 15:32:48 -07:00
2014-09-05 14:14:37 +08:00
2014-05-14 12:13:50 -07:00
2014-09-17 15:45:43 -07:00
2014-09-08 18:46:52 -07:00
2014-09-05 14:14:37 +08:00
2014-09-15 20:43:38 +08:00
2014-07-25 15:17:06 -07:00
2014-09-05 14:14:37 +08:00
2014-07-28 12:10:49 -07:00
2013-12-03 12:42:15 -08:00
2014-07-28 12:22:37 -07:00
2014-04-09 21:17:14 -07:00
2014-04-09 21:17:14 -07:00
2014-04-17 14:29:28 -07:00
2014-04-25 09:50:51 -04:00
2014-09-08 22:24:40 -07:00
2014-09-08 22:24:40 -07:00
2014-08-27 11:05:41 -07:00
2014-05-01 14:09:32 -04:00
2014-05-01 14:09:32 -04:00