[LU-10824] ll_umount being improper use of cached mountpoint from mount time Created: 17/Mar/18 Updated: 06/Jan/22 |
|
| Status: | Reopened |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0, Lustre 2.10.0, Lustre 2.11.0 |
| Fix Version/s: | Upstream |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleg Drokin | Assignee: | James A Simmons |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
Al Viro chimed in complaining about patch from » sbi->ll_mnt.mnt = current->fs->root.mnt; This is prone to many errors, in particular: did not get reference count, so this mount struct might disappear, it does not take bind mounts into account not mount --move. Overall original patch is trying to "fix" something that's not broken in the kernel
The patch needs to be reworked and we just need to add some extra retrying logic in the test framework instead I guess. |
| Comments |
| Comment by Gerrit Updater [ 18/Aug/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33025 |
| Comment by Gerrit Updater [ 28/Aug/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33025/ |
| Comment by Peter Jones [ 28/Aug/18 ] |
|
Landed for 2.12 |
| Comment by James A Simmons [ 28/Aug/18 ] |
|
Need another patch to resolve this completely. |
| Comment by Gerrit Updater [ 18/Nov/21 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/45608 |
| Comment by Gerrit Updater [ 18/Nov/21 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/45609 |
| Comment by Gerrit Updater [ 06/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45609/ |