diff options
author | Ameer Hamza <[email protected]> | 2022-11-19 00:39:59 +0500 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-18 11:39:59 -0800 |
commit | 3a74f488fcd9b3802efa366adcb813415d3f13a8 (patch) | |
tree | a4b67bbaf535ccaa8a8f6d642796efffffc27a59 /include/sys/zfs_znode.h | |
parent | 3226e0dc8ef6f7770035c42b28f2b088bbdd2944 (diff) |
zed: post a udev change event from spa_vdev_attach()
In order for zed to process the removal event correctly,
udev change event needs to be posted to sync the blkid
information. spa_create() and spa_config_update() posts
the event already through spa_write_cachefile(). Doing
the same for spa_vdev_attach() that handles the case
for vdev attachment and replacement.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Ameer Hamza <[email protected]>
Closes #14172
Diffstat (limited to 'include/sys/zfs_znode.h')
0 files changed, 0 insertions, 0 deletions