Siying Dong
73843aa636
Direct I/O Reads Handle the last sector correctly.
...
Summary:
Currently, in the Direct I/O read mode, the last sector of the file, if not full, is not handled correctly. If the return value of pread is not multiplier of kSectorSize, we still go ahead and continue reading, even if the buffer is not aligned. With the commit, if the return value is not multiplier of kSectorSize, and all but the last sector has been read, we simply return.
Closes https://github.com/facebook/rocksdb/pull/1550
Differential Revision: D4209609
Pulled By: lightmark
fbshipit-source-id: cb0b439
2016-11-18 19:24:13 -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-10-28 10:44:52 -07:00
2016-02-09 15:12:00 -08:00
2016-05-20 07:42:18 -07:00
2016-11-15 20:24:13 -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
2016-08-29 10:40:00 -07:00
2016-11-13 19:09:18 -08:00
2016-11-13 19:09:18 -08:00
2016-02-09 15:12:00 -08:00
2016-08-31 08:56:34 -07: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-09-06 12:22:16 -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-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-11-14 22:54:17 -08:00
2016-11-14 22:54:17 -08:00
2016-10-18 16:59:37 -07:00
2016-10-24 10:35:00 -07:00
2016-10-24 10:35:00 -07:00
2016-07-08 17:50:51 -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-09-13 12:08:22 -07:00
2016-05-06 17:42:50 -07:00
2016-09-07 12:37:45 -07:00
2016-11-18 17:24:13 -08:00
2016-11-18 17:24:13 -08:00
2016-10-28 10:36:05 -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-05-10 14:06:07 -07:00
2016-05-10 14:06:07 -07:00
2016-02-09 15:12:00 -08:00
2016-08-05 10:31:41 -07:00
2016-08-05 10:31:41 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -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-11-13 19:09:18 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -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-03-15 11:38:15 -07: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
2016-11-18 19:24:13 -08:00
2016-11-18 17:24:13 -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-10-11 16:45:51 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-08-19 16:43:31 -07:00
2016-08-23 13:53:49 -07:00
2016-08-23 13:44:13 -07:00
2016-05-27 12:10:26 -07:00
2016-11-15 20:24:13 -08:00
2016-06-03 15:13:03 -07:00
2016-05-27 12:10:26 -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-07-19 12:01:46 -07:00
2016-11-14 22:54:17 -08:00
2016-11-14 22:54:17 -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-11-13 19:09:18 -08:00
2016-11-01 21:09:23 -07:00
2016-11-16 09:39:09 -08:00
2016-02-17 20:22:40 +08:00
2016-02-09 15:12:00 -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-02-09 15:12:00 -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
2016-09-01 13:50:39 -07:00
2016-09-01 13:50:39 -07:00
2016-02-09 15:12:00 -08:00
2016-06-10 16:37:36 -07:00
2016-02-18 11:25:19 -08:00
2016-02-17 15:20:23 -08:00
2016-07-25 16:05:50 -07:00
2016-10-11 10:54:11 -07:00
2016-10-11 10:54:11 -07:00
2016-09-07 12:37:45 -07:00
2016-09-07 12:37:45 -07: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-08-16 06:19:46 -07:00
2016-07-07 11:29:14 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-11-02 15:39:18 -07:00
2016-10-18 16:59:37 -07:00
2016-02-09 15:12:00 -08:00
2016-08-23 13:34:56 -07:00
2016-10-29 12:09:17 -07:00
2016-08-22 15:37:39 -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-03-04 16:03:31 -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-02-09 15:12:00 -08:00
2016-09-02 17:10:28 -07:00
2016-08-26 10:41:35 -07:00
2016-03-11 15:16:52 -08:00
2016-03-15 10:57:33 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2015-11-18 16:23:19 -08:00
2015-03-12 12:07:10 -07:00