[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y8ZY6+goxBrkHT8c@infradead.org>
Date: Tue, 17 Jan 2023 00:14:35 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Jie Wang <wangjie2011cs@....com>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: check disk flag before setting scan bit
On Tue, Jan 17, 2023 at 03:53:29PM +0800, Jie Wang wrote:
> No need to scan partitions for disk who has set flag GENHD_FL_NO_PART in
> driver code. In disk_scan_partitions function, the same checking is
> existing, so we believe this change is reasonable.
>
> In our case, some virtual block devices are not managed by GPT, then scan
> partition operation is not a must. So we set GENHD_FL_NO_PART flag in
> driver intended to avoid partitions being dropped/added.
What driver?
Powered by blists - more mailing lists