]> www.infradead.org Git - users/hch/block.git/commit
nbd: move setting the cache control flags to __nbd_set_size
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:04:37 +0000 (08:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2024 13:58:28 +0000 (07:58 -0600)
commit6b377787a306253111404325aee98005b361e59a
tree4445fdc7fd06dd1efd8ee0445bdb21c9c22f8f1d
parentbbe5c84122b35c37f2706872fe34da66f0854b56
nbd: move setting the cache control flags to __nbd_set_size

Move setting the cache control flags in nbd in preparation for moving
these flags into the queue_limits structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240617060532.127975-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c