[LU-14491] ldiskfs_xattr_delete_inode() modifies journalled buffers without get_write_access/handle_dirty_metadata Created: 05/Mar/21  Updated: 30/Nov/21  Resolved: 14/Mar/21

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

Type: Bug Priority: Major
Reporter: Andrew Perepechko Assignee: Andrew Perepechko
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

ldiskfs_xattr_delete_inode() modifies journalled buffers without get_write_access/handle_dirty_metadata. This can cause journal replay abort if journal checksums are enabled.

A patch will be uploaded shortly.



 Comments   
Comment by Gerrit Updater [ 05/Mar/21 ]

Andrew Perepechko (andrew.perepechko@hpe.com) uploaded a new patch: https://review.whamcloud.com/41896
Subject: LU-14491 ldiskfs: do not corrupt journal with bh modification
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b3146e4497c45cf13cadbd7bfe8da305fbf966b3

Comment by Gerrit Updater [ 13/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41896/
Subject: LU-14491 ldiskfs: do not corrupt journal with bh modification
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d563f5140ffa183d0854cf7cd493ad884e314e3d

Comment by Peter Jones [ 14/Mar/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 08/Oct/21 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45164
Subject: LU-14491 ldiskfs: do not corrupt journal with bh change rh7.6
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f7cdf82d03c8257f7c909d83dfbacb073bf1e10c

Comment by Gerrit Updater [ 30/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45164/
Subject: LU-14491 ldiskfs: do not corrupt journal with bh change rh7.6
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e661eb7e1bc9e0483b4a8be30f3040ae796d005c

Generated at Sat Feb 10 03:10:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.