[PATCH 12/27] block: add a bdev_write_cache helper
Chaitanya Kulkarni
chaitanyak at nvidia.com
Thu Apr 14 22:41:46 PDT 2022
On 4/14/22 21:52, Christoph Hellwig wrote:
> Add a helper to check the write cache flag based on the block_device
> instead of having to poke into the block layer internal request_queue.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
> Acked-by: David Sterba <dsterba at suse.com> [btrfs]
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list