[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171024074615.GA14396@lst.de>
Date: Tue, 24 Oct 2017 09:46:15 +0200
From: Christoph Hellwig <hch@....de>
To: Al Viro <viro@...IV.linux.org.uk>
Cc: Greg Edwards <gedwards@....com>, linux-fsdevel@...r.kernel.org,
Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs: guard_bio_eod() needs to consider partitions
On Tue, Oct 24, 2017 at 03:16:36AM +0100, Al Viro wrote:
> > Fixes: 74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index")
> > Signed-off-by: Greg Edwards <gedwards@....com>
>
> That smells like a nasty source of overhead, especially on SMP boxen...
We could just use __disk_get_part similar to the partition remapping,
or just pass the block_device to guard_bio_eod.
Powered by blists - more mailing lists