-
- Downloads
block: add a bdev_write_cache helper
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@lst.de> Reviewed-by:
Martin K. Petersen <martin.petersen@oracle.com> Acked-by: David Sterba <dsterba@suse.com> [btrfs] Reviewed-by:
Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20220415045258.199825-13-hch@lst.de Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- drivers/block/rnbd/rnbd-srv.c 1 addition, 1 deletiondrivers/block/rnbd/rnbd-srv.c
- drivers/block/xen-blkback/xenbus.c 1 addition, 1 deletiondrivers/block/xen-blkback/xenbus.c
- drivers/target/target_core_iblock.c 2 additions, 6 deletionsdrivers/target/target_core_iblock.c
- fs/btrfs/disk-io.c 1 addition, 2 deletionsfs/btrfs/disk-io.c
- include/linux/blkdev.h 5 additions, 0 deletionsinclude/linux/blkdev.h
Loading
Please register or sign in to comment