From: Andriy Skulysh Date: Mon, 23 Jun 2014 01:32:16 +0000 (-0400) Subject: staging/lustre/osc: osc_extent_truncate()) ASSERTION( !ext->oe_urgent ) failed X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1351 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce248d59783438f2fb0a8cfb27e7c9b9045170f1;p=pandora-kernel.git staging/lustre/osc: osc_extent_truncate()) ASSERTION( !ext->oe_urgent ) failed The bug was caused by race between truncate & fsync. osc_extent_wait() doesn't takes into account oe_trunc_pending during setting oe_urgent. The race arises after osc_object_unlock(). osc_extent_wait() should ignore extents with oe_trunc_pending while waiting for OES_INV. osc_cache_truncate_end() will set oe_urgent and call osc_io_unplug_async() Signed-off-by: Andriy Skulysh Reviewed-on: http://review.whamcloud.com/10204 Xyratex-bug-id: LELUS-239 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4852 Reviewed-by: Jinshan Xiong Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed