mirror_zfs/include
Brian Behlendorf 4ec15b8dcf Use MUTEX_FSTRANS mutex type
There are regions in the ZFS code where it is desirable to be able
to be set PF_FSTRANS while a specific mutex is held.  The ZFS code
could be updated to set/clear this flag in all the correct places,
but this is undesirable for a few reasons.

1) It would require changes to a significant amount of the ZFS
   code.  This would complicate applying patches from upstream.

2) It would be easy to accidentally miss a critical region in
   the initial patch or to have an future change introduce a
   new one.

Both of these concerns can be addressed by using a new mutex type
which is responsible for managing PF_FSTRANS, support for which was
added to the SPL in commit zfsonlinux/spl@9099312 - Merge branch
'kmem-rework'.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #3050
Closes #3055
Closes #3062
Closes #3132
Closes #3142
Closes #2983
2015-03-03 10:46:40 -08:00
..
linux Linux 3.19 compat: file_inode was added 2015-02-10 11:24:51 -08:00
sys Use MUTEX_FSTRANS mutex type 2015-03-03 10:46:40 -08:00
libnvpair.h
libuutil_common.h
libuutil_impl.h
libuutil.h
libzfs_core.h
libzfs_impl.h
libzfs.h
Makefile.am
zfeature_common.h
zfs_comutil.h
zfs_deleg.h
zfs_fletcher.h
zfs_namecheck.h
zfs_prop.h
zpios-ctl.h
zpios-internal.h