]> 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>
Wed, 29 May 2024 07:06:56 +0000 (09:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 16 Jun 2024 09:47:55 +0000 (11:47 +0200)
commit04c4b0c432c35ef1f437b29778e7137a56546b74
tree4445fdc7fd06dd1efd8ee0445bdb21c9c22f8f1d
parente2b106e8ba9870080d8139f25ad2539e41c6e083
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>
drivers/block/nbd.c