Whamcloud - gitweb
LU-12836 osd-zfs: Catch all ZFS pool change events 29/43929/3
authorTony Hutter <hutter2@llnl.gov>
Fri, 12 Mar 2021 01:23:16 +0000 (17:23 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 10 Aug 2021 06:35:05 +0000 (06:35 +0000)
commit5b7627beef0c35a0fc47a416c5fbb9bbf2933f3a
tree8fc680f105555bb6b5f1347f184779a8705fb1f4
parent7759078c2be6df278bcdfab3eced738496f87331
LU-12836 osd-zfs: Catch all ZFS pool change events

This change adds the following symlinks:

  vdev_attach-lustre -> statechange-lustre.sh
  vdev_remove-lustre -> statechange-lustre.sh
  vdev_clear-lustre -> statechange-lustre.sh

This makes it so the statechange-lustre.sh script is also called on
all ZFS events that could change the pool state.

Lustre-change: https://review.whamcloud.com/43552
Lustre-commit: e11a47da71a2e2482e4c4cf582d663cd76a2ecab

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Change-Id: I18edc86749e8ab91bb45f21aafd3fd47e78cbaef
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43929
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/Makefile.am
lustre/scripts/statechange-lustre.sh
lustre/scripts/vdev_attach-lustre.sh [new symlink]
lustre/scripts/vdev_clear-lustre.sh [new symlink]
lustre/scripts/vdev_remove-lustre.sh [new symlink]