[LU-5859] Running lfs changelog with no registered user results in LBUG Created: 04/Nov/14 Updated: 05/Jun/15 Resolved: 25/Jan/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Michael MacDonald (Inactive) | Assignee: | Bruno Faccini (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Seen on master b6a3222, Robert confirmed he saw it on a master build from yesterday. |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 16400 | ||||||||||||||||||||
| Description |
|
See the attached reproducer script for details. In short, running lfs changelog after deregistering the last registered user results in an LBUG on umount of the client. While it is obviously a user error to run lfs changelog with no registered users, it shouldn't result in an LBUG. |
| Comments |
| Comment by Michael MacDonald (Inactive) [ 04/Nov/14 ] |
|
Running the attached script results in the following: ...
+ lctl --device LU-5859-MDT0000 changelog_deregister cl1
LU-5859-MDT0000: Deregistered changelog user 'cl1'
+ sleep 1
+ lfs changelog LU-5859-MDT0000
+ kill -9 5798
+ umount /tmp/LU-5859/client
Message from syslogd@test1 at Nov 4 12:32:42 ...
kernel:LustreError: 5800:0:(llog.c:854:llog_write()) ASSERTION( loghandle->lgh_obj != ((void *)0) ) failed:
Message from syslogd@test1 at Nov 4 12:32:42 ...
kernel:LustreError: 5800:0:(llog.c:854:llog_write()) LBUG
|
| Comment by Andreas Dilger [ 05/Nov/14 ] |
|
Mike, can you please paste the whole stack into the bug? |
| Comment by Henri Doreau (Inactive) [ 05/Nov/14 ] |
|
I was bisecting it to determine whether I have a stack here: |
| Comment by Robert Read (Inactive) [ 05/Nov/14 ] |
|
I'm also seeing an LBUG when unmounting the client after testing changelogs. |
| Comment by Michael MacDonald (Inactive) [ 06/Nov/14 ] |
|
I confirm that |
| Comment by Andreas Dilger [ 02/Dec/14 ] |
|
Alex, could you please offer some advice on how to fix this problem? It was apparently introduced by your patch http://review.whamcloud.com/10308 |
| Comment by Michael MacDonald (Inactive) [ 14/Jan/15 ] |
|
Hi. Just looking for a status update on this ticket. Seems like it should be a blocker... Any input, bzzz? |
| Comment by Alex Zhuravlev [ 15/Jan/15 ] |
|
Michael, looking at that now, thanks for reminding. |
| Comment by Gerrit Updater [ 15/Jan/15 ] |
|
Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/13414 |
| Comment by Gerrit Updater [ 25/Jan/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13414/ |
| Comment by Peter Jones [ 25/Jan/15 ] |
|
Landed for 2.7 |