Whamcloud - gitweb
LU-6446 ldiskfs: remove WARN_ON from ldiskfs_orphan_add{del} 90/14690/4
authorYang Sheng <yang.sheng@intel.com>
Wed, 6 May 2015 03:56:05 +0000 (11:56 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 27 Jul 2015 19:03:54 +0000 (19:03 +0000)
commit3daba43a191a0a2c9358d39b3f48b1b759a41819
tree3b5b0f615555f4102e02cc3cad30d11044842ee8
parentc9f9e9c54f5284093b689dd0d7fa8baf5a5b2c97
LU-6446 ldiskfs: remove WARN_ON from ldiskfs_orphan_add{del}

RHEL7.1 kernel carefully check i_mutex whether locked in
many places. It will be triggered while ldiskfs_truncate()
was invoked in osd layer. A dead lock would occured if we
just locked i_mutex around it since Lustre using a reverse
order for start journal==>lock i_mutex. Consider Lustre has
own ldlm lock. So just remove such messages in ldiskfs patches.

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: I79520b0a1d013722a5a27e71318416608bc25285
Reviewed-on: http://review.whamcloud.com/14690
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
ldiskfs/kernel_patches/patches/rhel7/ext4-remove-truncate-warning.patch