[LU-4272] lu_device_fini()) ASSERTION( cfs_atomic_read(&d->ld_ref) == 0 ) failed from lovsub_device_free Created: 19/Nov/13 Updated: 29/Aug/15 Resolved: 29/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Oleg Drokin | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | nfs | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 11737 | ||||||||||||
| Description |
|
Apparently we have a problem with inode cleaning on unmount exposed by at least nfs. The easiest reproducer I have right now is this: sh llmount.sh echo 0 >/proc/sys/lnet/panic_on_lbug service nfs start mount localhost:/mnt/lustre /mnt/nfs -t nfs touch /mnt/nfs/file ls -l /mnt/lustre cp -f /etc/passwd /mnt/nfs/file umount /mnt/nfs service nfs stop sh llmountcleanup.sh Reading the logs, It appears that after the write file dentry is deleted, but because we have locks on inode - it stays in place (unlike when we do not use nfs where it also goes away after sync). |
| Comments |
| Comment by Peter Jones [ 28/Nov/13 ] |
|
Niu Is this related to your patch for Peter |
| Comment by Andreas Dilger [ 28/Nov/13 ] |
|
This might be a side effect of the |
| Comment by Niu Yawei (Inactive) [ 29/Nov/13 ] |
|
I can't reproduce it with current master. Oleg, did you test it with clean master? |
| Comment by Jodi Levi (Inactive) [ 12/Mar/14 ] |
|
Has this been reproduced? Does the problem still exist or should this ticket be closed? |
| Comment by Oleg Drokin [ 25/Mar/14 ] |
|
The problem still exists, I just tried all the steps on current master and it still fails in the exact same way |
| Comment by Niu Yawei (Inactive) [ 27/Mar/14 ] |
|
It's strange, I tried again, but it still can't be reproduced in my test environment. Oleg, could you post the log here for analysis? Thank you. |
| Comment by Jodi Levi (Inactive) [ 23/May/14 ] |
|
Oleg, |
| Comment by Andreas Dilger [ 25/Nov/14 ] |
|
Oleg, if you are no longer able to reproduce this, please close it with "Cannot Reproduce" to get it off the tracking list. |
| Comment by Joseph Gmitter (Inactive) [ 16/Jul/15 ] |
|
Oleg is testing patch from |
| Comment by Oleg Drokin [ 29/Aug/15 ] |
|
it was fixed by |