[lkml]   [2021]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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.

 \ /
  Last update: 2021-02-05 08:15    [W:1.945 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site