Whamcloud - gitweb
LU-7713 osd: osd-zfs should serialize destroy vs. others 55/18155/13
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Tue, 26 Jan 2016 15:47:29 +0000 (18:47 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 15 Feb 2016 05:45:55 +0000 (05:45 +0000)
commitf9ca359284357d145819beb08b316e932f7a3060
treeb024eac413a4116b966543cde607618155668dbe
parent22856f4e5e2a84be332b6c70f039c47f24cf7b44
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