Files
mirror_zfs/cmd
Tony Hutter 7bbfac9d04 zed: Fix config_sync autoexpand flood
Users were seeing floods of `config_sync` events when autoexpand was
enabled.  This happened because all "disk status change" udev events
invoke the autoexpand codepath, which calls zpool_relabel_disk(),
which in turn cause another "disk status change" event to happen,
in a feedback loop.  Note that "disk status change" happens every time
a user calls close() on a block device.

This commit breaks the feedback loop by only allowing an autoexpand
to happen if the disk actually changed size.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes: #7132
Closes: #7366
Closes #13729
2022-09-14 09:57:44 -07:00
..
2022-08-12 14:29:24 -07:00
2021-03-22 12:34:58 -07:00
2022-08-08 16:56:38 -07:00
2022-09-14 09:57:44 -07:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-11-02 09:50:30 -07:00
2022-03-01 09:45:48 -08:00
2021-06-24 13:12:36 -07:00
2022-05-20 10:33:24 -07:00