Commit 487359a0 authored by Bart Van Assche's avatar Bart Van Assche Committed by Carlos Llamas
Browse files

UPSTREAM: 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>
Change-Id: Ie7d50e0502ccfc715fb31d638cf2d875c7afd488
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240202203926.2478590-6-bvanassche@acm.org


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
(cherry picked from commit ea7d8986)
parent cbd25c38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment