[LU-8038] lfs migrate fails with --block option Created: 19/Apr/16 Updated: 12/May/16 Resolved: 22/Apr/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Yang Sheng | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
Lustre will acquire a group lock while 'lfs migrate --block' running. But the CBPENDING flag will cause a new group lock be created against same file. This issue exists a long time. It was revealed by change http://review.whamcloud.com/16456/ and fixed by http://review.whamcloud.com/17838/. So we should add a test case for 'lfs migrate --block' to avoid such issue lurking again. |
| Comments |
| Comment by Gerrit Updater [ 19/Apr/16 ] |
|
Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/19645 |
| Comment by Gerrit Updater [ 22/Apr/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19645/ |
| Comment by Yang Sheng [ 22/Apr/16 ] |
|
Patch landed, So close this ticket. |