]> git.baikalelectronics.ru Git - kernel.git/commit
block/rnbd-clt: do not cap max_hw_sectors & max_segments with remote device
authorJack Wang <jinpu.wang@cloud.ionos.com>
Tue, 13 Oct 2020 10:30:49 +0000 (12:30 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 Oct 2020 21:05:05 +0000 (15:05 -0600)
commit2eb8c71b9f9db7ff1f6e9e3fa62b2dac9f5c18b8
tree7a02c8c89986153fa3a4c2737014fe7ccc36582c
parentaafc3b40edb1f1e76bbef8f876f40556f79b7b3e
block/rnbd-clt: do not cap max_hw_sectors & max_segments with remote device

The max_hw_secotrs is only limited by the transport, not remote device,
block layer on server side will split to the device limit if it's too
big.

The max_segments, similar, and rtrs server will submit single buffer, so
no need to cap.

Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.c