[LU-9543] Deadlock in ofd fiemap code leads to client eviction Created: 22/May/17 Updated: 10/Jan/19 Resolved: 04/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andriy Skulysh | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
When fiemap is used with FIEMAP_FLAG_SYNC flag OST locks all spare regions one by one. It may lead to a deadlock with another client which tries to get write lock on a region covering 2 spare regions. |
| Comments |
| Comment by Gerrit Updater [ 22/May/17 ] |
|
Andriy Skulysh (andriy.skulysh@seagate.com) uploaded a new patch: https://review.whamcloud.com/27224 |
| Comment by Gerrit Updater [ 04/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27224/ |
| Comment by Peter Jones [ 04/Jan/18 ] |
|
Landed for 2.11 |