lkml.org 
[lkml]   [2017]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@ddn.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.

\
 
 \ /
  Last update: 2017-10-24 09:46    [W:0.104 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site