1
0
mirror of https://git.proxmox.com/git/mirror_zfs.git synced 2025-04-06 17:49:11 +03:00
mirror_zfs/lib
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 
2013-11-08 10:45:14 -08:00
..
libavl Remove autotools products 2012-08-27 11:47:44 -07:00
libefi Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
libnvpair Illumos and 2013-01-08 10:35:35 -08:00
libshare Add smb_available() sanity checks 2013-04-02 09:27:52 -07:00
libspl Handle concurrent snapshot automounts failing due to EBUSY. 2013-11-08 10:45:14 -08:00
libunicode Remove autotools products 2012-08-27 11:47:44 -07:00
libuutil Remove autotools products 2012-08-27 11:47:44 -07:00
libzfs Handle concurrent snapshot automounts failing due to EBUSY. 2013-11-08 10:45:14 -08:00
libzfs_core Illumos 2013-11-05 12:23:11 -08:00
libzpool Illumos , 2013-11-04 10:55:25 -08:00
Makefile.am Illumos , , 2013-09-04 15:49:00 -07:00