Re: [PATCH v2 1/2] block: fail op_is_write() requests to read-only partitions
From: Christoph Hellwig <hch@infradead.org>
Date: 2018-01-10 16:55:28
From: Christoph Hellwig <hch@infradead.org>
Date: 2018-01-10 16:55:28
On Wed, Jan 10, 2018 at 09:34:02AM -0700, Jens Axboe wrote:
It's yet another check that adds part lookup and rcu lock/unlock in that path. Can we combine some of them? Make this part of the remap? This overhead impacts every IO, let's not bloat it more than absolutely necessary.
Yes, we should be able to integrate this with the partition remap.