summaryrefslogtreecommitdiff
path: root/sound/drivers/aloop.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2017-02-13 18:39:47 +0300
committerJens Axboe <axboe@fb.com>2017-02-21 22:51:54 +0300
commite544541b0765c341174613b416d4b074fa7571c2 (patch)
tree6a13f452c21bd312b81b9f3a7f9118621a4c397c /sound/drivers/aloop.c
parent9442b739207aab6b1053abf858a238e7642fbcd1 (diff)
downloadlinux-e544541b0765c341174613b416d4b074fa7571c2.tar.xz
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>
Diffstat (limited to 'sound/drivers/aloop.c')
0 files changed, 0 insertions, 0 deletions