[LU-12345] backport - ext4: optimize ext4_find_delalloc_range() in nodelalloc mode Created: 28/May/19 Updated: 01/Nov/22 Resolved: 01/Jun/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Artem Blagodarenko (Inactive) | Assignee: | Artem Blagodarenko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
From 8c48f7e88e293b9dd422bd8884842aea85d30b22 |
| Comments |
| Comment by Andreas Dilger [ 28/May/19 ] |
|
I don't think osd-ldiskfs is using delalloc? This may affect local ext4 performance but I don't think it will affect Lustre. |
| Comment by Alex Zhuravlev [ 28/May/19 ] |
|
I remember one reason do not use delalloc is missing suport for ordered writes. i.e. allocation is driven by VM as process of memory cleanup/release, not by JBD which is required to know when specific pages have been commited. this is different from ZFS where data allocation is done as part of commiting TXG. |
| Comment by Artem Blagodarenko (Inactive) [ 28/May/19 ] |
|
> I don't think osd-ldiskfs is using delalloc? This may affect local ext4 performance but I don't think it will affect Lustre. During IOR single thread 4K random re-write over 16GB file on one of our machine |
| Comment by Artem Blagodarenko (Inactive) [ 28/May/19 ] |
|
There is "ext4: optimize ext4_find_delalloc_range() in nodelalloc |
| Comment by Gerrit Updater [ 28/May/19 ] |
|
Artem Blagodarenko (c17828@cray.com) uploaded a new patch: https://review.whamcloud.com/34982 |
| Comment by Andreas Dilger [ 29/May/19 ] |
|
Other than this (obviously significant) performance problems, have you seen other problems with bigalloc? I'm worried that there are hidden problems because the osd-ldiskfs code is dealing with blocks instead of chunks in various places (chunk, C2B, and B2C do not appear anywhere in that code). |
| Comment by Artem Blagodarenko (Inactive) [ 30/May/19 ] |
|
adilger going to make bigalloc testing in near future. |
| Comment by Gerrit Updater [ 01/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34982/ |
| Comment by Peter Jones [ 01/Jun/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 11/Feb/20 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37538 |
| Comment by Gerrit Updater [ 14/Apr/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37538/ |