aboutsummaryrefslogtreecommitdiff
path: root/fs/iomap/buffered-io.c
diff options
context:
space:
mode:
authorGravatar Bart Van Assche <bvanassche@acm.org> 2024-02-02 12:39:24 -0800
committerGravatar Christian Brauner <brauner@kernel.org> 2024-02-06 14:30:48 +0100
commitea7d898676d9e94558c46ba927db35403362389f (patch)
treea0e8fa62b729f1ab419178ec092fa20124bd831e /fs/iomap/buffered-io.c
parentfs: Move enum rw_hint into a new header file (diff)
downloadlinux-ea7d898676d9e94558c46ba927db35403362389f.tar.gz
linux-ea7d898676d9e94558c46ba927db35403362389f.tar.bz2
linux-ea7d898676d9e94558c46ba927db35403362389f.zip
fs: Propagate write hints to the struct block_device inode
Write hints applied with F_SET_RW_HINT on a block device affect the block device inode only. Propagate these hints to the inode associated with struct block_device because that is the inode used when writing back dirty pages. Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@lst.de> Cc: Jeff Layton <jlayton@kernel.org> Cc: Chuck Lever <chuck.lever@oracle.com> Cc: Kanchan Joshi <joshi.k@samsung.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20240202203926.2478590-6-bvanassche@acm.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/iomap/buffered-io.c')
0 files changed, 0 insertions, 0 deletions