lkml.org 
[lkml]   [2023]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next 0/2] block: fix scan partition for exclusively open device again
On Wed, Mar 22, 2023 at 09:26:07AM +0800, Yu Kuai wrote:
> Hi,
>
> 在 2023/03/21 19:43, Ming Lei 写道:
> > On Fri, Feb 17, 2023 at 10:21:58AM +0800, Yu Kuai wrote:
> > > From: Yu Kuai <yukuai3@huawei.com>
> > >
> > > Changes from RFC:
> > > - remove the patch to factor out GD_NEED_PART_SCAN
> > >
> > > Yu Kuai (2):
> > > block: Revert "block: Do not reread partition table on exclusively
> > > open device"
> > > block: fix scan partition for exclusively open device again
> >
> > Hi Yu kuai,
> >
> > Looks the original issue starts to re-appear now with the two patches:
> >
> > https://lore.kernel.org/linux-block/20221130135344.2ul4cyfstfs3znxg@quack3/
> >
> > And underlying disk partition and raid partition can be observed at the
> > same time.
> >
> > Can you take a look?
> Yes, thanks for the report. I realize that sda1 adn sdb1 is created
> while raid open sda and sdb excl, and I think this problem should exist
> before this patchset.

Looks not reproduced before applying your two patches, that is exactly what Jan
tried to fix with 36369f46e917 ("block: Do not reread partition table on exclusively open device").

The issue is reported by Changhui's block regression test.


Thanks,
Ming

\
 
 \ /
  Last update: 2023-03-27 01:11    [W:0.268 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site