mirror_zfs/lib/libzfs
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
..
libzfs_changelist.c Recreate minors when renaming zvols 2012-11-19 16:59:44 -08:00
libzfs_config.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_dataset.c Illumos #3996 2013-11-05 12:23:11 -08:00
libzfs_diff.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_fru.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_graph.c Illumos #3464 2013-09-04 16:01:24 -07:00
libzfs_import.c Fix libblkid support 2013-10-10 16:56:51 -07:00
libzfs_iter.c Illumos #4061 2013-11-05 12:24:10 -08:00
libzfs_mount.c Handle concurrent snapshot automounts failing due to EBUSY. 2013-11-08 10:45:14 -08:00
libzfs_pool.c Illumos #3745, #3811 2013-11-04 10:55:25 -08:00
libzfs_sendrecv.c Illumos #3909 2013-11-05 12:15:11 -08:00
libzfs_status.c Illumos #3818 2013-11-04 11:18:14 -08:00
libzfs_util.c Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00
Makefile.am Fix libzfs_core changes to follow GNU libtool guidelines 2013-10-10 16:56:51 -07:00