Whamcloud - gitweb
LU-7713 osd: osd-zfs should serialize destroy vs. others
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Tue, 26 Jan 2016 15:47:29 +0000 (18:47 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 18 Feb 2016 18:40:29 +0000 (13:40 -0500)
commitbea2478fc198f7f7445016faa8831eb6775b1fe9
tree278e821fd47bd16bab3b101eb0ea038ffac995b3
parent52ba2c51c1f923ff40e9990fdbba7f752488b5de
LU-7713 osd: osd-zfs should serialize destroy vs. others

otherwise we can get unexpected EEXIST from DMU at any time.
sanityn/91 hits this regularly.

Change-Id: I948413a0689f1ceae7f073a1e33adef023eb274c
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: http://review.whamcloud.com/18155
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdd/mdd_dir.c
lustre/osd-zfs/osd_index.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_object.c
lustre/osd-zfs/osd_xattr.c