[LU-7347] Delayed update of /proc after unmount Created: 28/Oct/15  Updated: 10/Oct/21  Resolved: 10/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Dave Love Assignee: WC Triage
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

Scientific Linux 6 (kernel 2.6.32-573.7.1), Infiniband


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Unfortunately I don't have a useful reproducer for this, and it may
not be considered a bug, but it at least seems worth recording for others'
benefit.

/proc – specifically /proc/fs/lustre/devices – is apparently updated
asynchronously after a umount on a client. That can cause confusion
with subsequent checks unless they introduce a delay or poll.

I found this using shine to unmount and shut down Lustre at reboot
time on clients <http://sourceforge.net/p/lustre-shine/tickets/194/>.
There was a race between the basic umount and /proc/fs/lustre/devices
being updated when it was checked subsequently. I assume it's
affected by other activity during shutdown since it didn't show up in
a simple umount/cat loop in an interactive session.


Generated at Sat Feb 10 02:08:06 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.