Josef Bacik
e544541b07
nbd: set the logical and physical blocksize properly
...
We noticed when trying to do O_DIRECT to an export on the server side
that we were getting requests smaller than the 4k sectorsize of the
device. This is because the client isn't setting the logical and
physical blocksizes properly for the underlying device. Fix this up by
setting the queue blocksizes and then calling bd_set_size.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-02-21 12:51:54 -07:00
..
2017-02-20 17:55:15 -08:00
2017-02-17 14:08:19 -07:00
2016-12-24 11:46:01 -08:00
2017-01-11 09:27:30 +01:00
2017-02-20 18:06:09 -08:00
2017-01-17 14:23:44 +02:00
2017-02-21 12:51:54 -07:00
2016-12-16 10:24:44 -08:00
2016-12-25 10:47:44 +01:00
2017-02-17 14:08:19 -07:00
2017-02-08 18:06:03 -08:00
2017-01-30 09:22:21 +01:00
2017-02-20 10:06:32 -08:00
2017-02-20 17:41:31 -08:00
2017-01-30 11:03:32 +01:00
2017-02-06 14:16:23 -08:00
2016-12-18 15:49:10 -08:00
2017-02-20 14:23:40 +01:00
2016-12-24 11:46:01 -08:00
2017-02-10 15:13:10 +01:00
2017-02-20 12:47:44 -08:00
2017-01-11 09:11:39 +01:00
2017-02-07 10:42:11 +01:00
2017-01-19 09:57:20 +01:00
2017-02-20 13:23:30 -08:00
2017-02-20 15:01:57 +01:00
2017-01-31 10:59:48 +01:00
2017-02-16 06:49:05 -08:00
2016-12-25 10:47:44 +01:00
2017-02-20 18:06:09 -08:00
2017-02-17 14:08:19 -07:00
2016-12-13 10:41:53 -08:00
2017-01-22 13:35:40 +00:00
2017-02-20 13:23:30 -08:00
2017-02-12 18:36:49 -08:00
2017-02-10 15:13:10 +01:00
2017-02-20 16:42:43 -08:00
2017-02-01 09:13:50 +01:00
2017-02-14 22:20:24 +01:00
2016-12-24 11:46:01 -08:00
2017-02-15 08:27:21 -07:00
2017-02-01 09:13:47 +01:00
2016-12-25 17:21:22 +01:00
2017-02-21 10:57:33 -08:00
2017-02-16 10:22:41 -08:00
2017-02-17 14:08:19 -07:00
2017-01-27 15:08:35 -07:00
2017-01-03 17:34:16 +00:00
2017-02-20 13:23:30 -08:00
2017-02-17 14:08:19 -07:00
2017-02-21 10:57:33 -08:00
2017-02-17 15:32:06 -05:00
2017-02-16 23:11:26 -05:00
2016-12-24 11:46:01 -08:00
2017-02-04 14:47:31 -08:00
2017-02-17 14:08:19 -07:00
2017-01-04 18:22:47 +01:00
2016-12-15 12:46:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-28 21:54:21 +01:00
2017-02-20 13:23:30 -08:00
2016-12-12 18:55:06 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2017-01-30 15:53:57 +01:00
2017-02-20 16:26:57 -08:00
2016-12-24 11:46:01 -08:00
2017-01-29 23:15:18 +01:00
2016-12-12 19:56:15 -08:00
2016-12-15 11:45:13 -08:00
2017-02-20 17:23:57 -08:00
2016-12-30 03:26:31 -08:00
2017-02-17 08:11:47 +01:00
2016-12-30 03:12:11 -08:00
2017-01-26 23:03:21 +01:00
2017-02-17 14:08:19 -07:00
2016-12-24 11:46:01 -08:00
2017-02-21 12:51:54 -07:00
2016-12-12 18:55:08 -08:00
2017-01-12 13:37:49 -08:00
2017-02-20 17:55:15 -08:00
2017-02-20 13:23:30 -08:00
2017-02-21 10:57:33 -08:00
2017-02-20 14:22:50 +01:00
2016-12-13 12:11:01 -08:00
2017-02-20 13:23:30 -08:00
2016-12-10 14:57:58 +01:00
2017-02-20 13:23:30 -08:00
2017-02-20 16:42:43 -08:00
2017-02-03 23:38:57 +02:00
2017-01-24 16:26:14 -08:00
2017-02-03 23:38:50 +02:00
2017-01-11 10:42:16 +01:00
2016-12-24 11:27:45 -08:00
2017-01-27 12:17:07 -08:00
2016-12-24 11:46:01 -08:00