[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210205071429.GA28033@lst.de>
Date: Fri, 5 Feb 2021 08:14:29 +0100
From: Christoph Hellwig <hch@....de>
To: Ming Lei <ming.lei@...hat.com>
Cc: Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
"Ewan D . Milne" <emilne@...hat.com>
Subject: Re: [PATCH 2/2] block: avoid to drop & re-add partitions if
partitions aren't changed
On Fri, Feb 05, 2021 at 10:17:08AM +0800, Ming Lei wrote:
> block ioctl(BLKRRPART) always drops current partitions and adds
> partitions again, even though there isn't any change in partitions table.
>
> ioctl(BLKRRPART) may be called by systemd-udevd and some disk utilities
> frequently.
Err, why? We should probably fix udev to not do stupid things first.
Powered by blists - more mailing lists