[LU-14268] mirror split does not increase layout generation properly Created: 22/Dec/20 Updated: 26/Feb/21 Resolved: 26/Feb/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Zhenyu Xu | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
To reproduce the hang try:
lfs setstripe -c1 -i0 /mnt/lustre/f0
umount /mnt/lustre-mds1
mount /dev/mapper/mds1_flakey /mnt/lustre-mds1 -t lustre
lfs mirror extend -N -c1 -i1 /mnt/lustre/f0
umount /mnt/lustre-mds1
mount /dev/mapper/mds1_flakey /mnt/lustre-mds1 -t lustre
lfs mirror split -d --mirror-id=1 /mnt/lustre/f0
dd if=/dev/zero of=/mnt/lustre/f0 bs=1M count=1
The layout generation does not increase in mirror split, and not set the flr state properly, so client does not get the updated layout and setattr loops sending write intent RPC while cannot get the latest layout. |
| Comments |
| Comment by Gerrit Updater [ 22/Dec/20 ] |
|
Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/41068 |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41068/ |