[LU-6199] ldiskfs kernel warnings at ldiskfs_flush_unwritten_io+0x74 Created: 03/Feb/15  Updated: 03/Jun/15  Resolved: 10/Feb/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0
Fix Version/s: Lustre 2.7.0

Type: Bug Priority: Major
Reporter: Bob Glossman (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

el6.6 kernels


Issue Links:
Duplicate
Severity: 3
Rank (Obsolete): 17328

 Description   

new warnings occasionally seen in ldiskfs due to checking code new in upstream ext4 code for el6.6.

stack traces look like ldiskfs_truncate() ..... -> ldiskfs_flush_unwritten_io()

lustre calls some ext4/ldiskfs entry points without locking i_mutex. It must do so in order to avoid deadlocks. This triggers a WARN_ON_ONCE() check that is in el6.6 and newer kernels. ldiskfs patch series for future kernels took care of this, but the patch series for el6.6 did not. Need to add a patch to remove the check for ldiskfs on el6.6



 Comments   
Comment by Gerrit Updater [ 03/Feb/15 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/13604
Subject: LU-6199 ldiskfs: delete bad WARN_ON_ONCE from ldiskfs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4dd2041c74c58e83910964607d13ca18560a1bb1

Comment by Gerrit Updater [ 10/Feb/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13604/
Subject: LU-6199 ldiskfs: delete bad WARN_ON_ONCE from ldiskfs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6c55653ed07c4e4c98efdad7693a9543a41d591b

Comment by Jodi Levi (Inactive) [ 10/Feb/15 ]

Patch landed to Master.

Generated at Sat Feb 10 01:58:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.