From: David Sterba Date: Thu, 7 Apr 2022 17:21:32 +0200 Subject: [Cluster-devel] [PATCH 10/27] block: add a bdev_nonrot helper In-Reply-To: <20220406060516.409838-11-hch@lst.de> References: <20220406060516.409838-1-hch@lst.de> <20220406060516.409838-11-hch@lst.de> Message-ID: <20220407152132.GI15609@twin.jikos.cz> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Apr 06, 2022 at 08:04:59AM +0200, Christoph Hellwig wrote: > Add a helper to check the nonrot flag based on the block_device instead > of having to poke into the block layer internal request_queue. > > Signed-off-by: Christoph Hellwig > --- > block/ioctl.c | 2 +- > drivers/block/loop.c | 2 +- > drivers/md/dm-table.c | 4 +--- > drivers/md/md.c | 3 +-- > drivers/md/raid1.c | 2 +- > drivers/md/raid10.c | 2 +- > drivers/md/raid5.c | 2 +- > drivers/target/target_core_file.c | 3 +-- > drivers/target/target_core_iblock.c | 2 +- For > fs/btrfs/volumes.c | 4 ++-- Acked-by: David Sterba