[LU-14267] osd_ldiskfs_write_record(): do not update in-bh inode every time Created: 22/Dec/20 Updated: 08/Jan/21 Resolved: 05/Jan/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.14.0, Lustre 2.12.6 |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | LTS12 | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
there is no point to update in-bh inode every call to osd_ldiskfs_write_record(), but
dirty_inode = test_and_set_bit(LDISKFS_INODE_JOURNAL_DATA,
&ei->i_flags);
....
if (dirty_inode)
osd_dirty_inode(inode, I_DIRTY_DATASYNC);
there are two consequences: |
| Comments |
| Comment by Gerrit Updater [ 22/Dec/20 ] |
|
Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41069 |
| Comment by Andreas Dilger [ 23/Dec/20 ] |
|
This regression was introduced into master by commit v2_13_53-166-ga23aac2219 patch https://review.whamcloud.com/38281 " |
| Comment by Gerrit Updater [ 05/Jan/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41069/ |
| Comment by Peter Jones [ 05/Jan/21 ] |
|
Landed for 2.14 |
| Comment by Gerrit Updater [ 08/Jan/21 ] |
|
Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/41174 |
| Comment by Etienne Aujames [ 08/Jan/21 ] |
|
The backport above fixes the https://review.whamcloud.com/38705/ on the b2_12 branch. |