freebsd-dev/cmd
Tim Chase fd4f76160c Handle concurrent snapshot automounts failing due to EBUSY.
In the current snapshot automount implementation, it is possible for
multiple mounts to attempted concurrently.  Only one of the mounts will
succeed and the other will fail.  The failed mounts will cause an EREMOTE
to be propagated back to the application.

This commit works around the problem by adding a new exit status,
MOUNT_BUSY to the mount.zfs program which is used when the underlying
mount(2) call returns EBUSY.  The zfs code detects this condition and
treats it as if the mount had succeeded.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1819
2013-11-08 10:45:14 -08:00
..
arcstat Add dbufstat.py command 2013-10-25 14:52:45 -07:00
dbufstat Add dbufstat.py command 2013-10-25 14:52:45 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Handle concurrent snapshot automounts failing due to EBUSY. 2013-11-08 10:45:14 -08:00
vdev_id vdev_id: improve keyword parsing flexibility 2013-01-25 13:44:32 -08:00
zdb Illumos #3603, #3604: bobj improvements 2013-10-31 14:57:51 -07:00
zfs Illumos #3894 2013-11-04 11:18:14 -08:00
zhack Illumos #3740 2013-11-04 11:17:48 -08:00
zinject Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
zpool Illumos #3745, #3811 2013-11-04 10:55:25 -08:00
zstreamdump Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
ztest Illumos #3956, #3957, #3958, #3959, #3960, #3961, #3962 2013-11-05 12:23:05 -08:00
zvol_id Remove autotools products 2012-08-27 11:47:44 -07:00
Makefile.am Add dbufstat.py command 2013-10-25 14:52:45 -07:00