[LU-9859] libcfs simplification Created: 10/Aug/17 Updated: 13/Dec/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | Upstream |
| Type: | Improvement | Priority: | Minor |
| Reporter: | James A Simmons | Assignee: | James A Simmons |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Now that libcfs has been sorted out with user land we can look to simplify the code and use kernel function that already exist. Good example are prng.c or the cfs_alloc_array_* functions. Also only place in the linux directory only code that is needed to support various distros. |
| Comments |
| Comment by Gerrit Updater [ 05/Dec/17 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/30379 |
| Comment by Gerrit Updater [ 04/Jan/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/30706 |
| Comment by Gerrit Updater [ 14/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30706/ |
| Comment by Gerrit Updater [ 16/Jan/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/30873 |
| Comment by Gerrit Updater [ 31/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30873/ |
| Comment by Gerrit Updater [ 01/May/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32219 |
| Comment by John Hammond [ 04/May/18 ] |
|
BUG_ON() and BUILD_BUG_ON() are just terrible. Positive statements are much easier to read than negative ones. Especially so for latent dyslexics liek myself. Some times the kernel folks are just wrong. This is even worse than replacing ptr == NULL with !ptr. |
| Comment by James A Simmons [ 05/May/18 ] |
|
Please see https://patchwork.kernel.org/patch/9551609 for why it was removed. CLASSERT is actually broken with clang. It might be horrible but sadly we have to deal with it at some point. We have a choice when to deal with it, now or later. |
| Comment by John Hammond [ 07/May/18 ] |
#define CLASSERT(cond) BUILD_BUG_ON(!(cond)) |
| Comment by Gerrit Updater [ 11/May/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/32359 |
| Comment by Gerrit Updater [ 21/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32359/ |
| Comment by Gerrit Updater [ 17/Aug/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33018 |
| Comment by Gerrit Updater [ 23/Jan/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33018/ |
| Comment by Gerrit Updater [ 03/Feb/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34168 |
| Comment by Gerrit Updater [ 03/Feb/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34169 |
| Comment by Gerrit Updater [ 03/Feb/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34170 |
| Comment by Gerrit Updater [ 18/Feb/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34170/ |
| Comment by Gerrit Updater [ 27/Feb/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34168/ |
| Comment by Gerrit Updater [ 03/Mar/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34169/ |
| Comment by Gerrit Updater [ 19/Mar/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34466 |
| Comment by Gerrit Updater [ 01/Apr/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34466/ |
| Comment by Gerrit Updater [ 13/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35224 |
| Comment by Gerrit Updater [ 13/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35225 |
| Comment by Gerrit Updater [ 14/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35234 |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35272 |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35281 |
| Comment by Gerrit Updater [ 25/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35224/ |
| Comment by Gerrit Updater [ 25/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35234/ |
| Comment by Gerrit Updater [ 27/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35272/ |
| Comment by Gerrit Updater [ 28/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35350 |
| Comment by Gerrit Updater [ 28/Jun/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35351 |
| Comment by Gerrit Updater [ 03/Jul/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35410 |
| Comment by Gerrit Updater [ 03/Jul/19 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35411 |
| Comment by Gerrit Updater [ 07/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35225/ |
| Comment by Gerrit Updater [ 12/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35351/ |
| Comment by Gerrit Updater [ 19/Jul/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35567 |
| Comment by Gerrit Updater [ 19/Jul/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35574 |
| Comment by Gerrit Updater [ 27/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35567/ |
| Comment by Gerrit Updater [ 17/Aug/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35809 |
| Comment by Gerrit Updater [ 21/Aug/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/35847 |
| Comment by Gerrit Updater [ 27/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35847/ |
| Comment by Gerrit Updater [ 27/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35809/ |
| Comment by Gerrit Updater [ 03/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32219/ |
| Comment by Gerrit Updater [ 03/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35574/ |
| Comment by Gerrit Updater [ 09/Sep/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36118 |
| Comment by Gerrit Updater [ 26/Sep/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36304 Project: fs/lustre-release |
| Comment by Gerrit Updater [ 27/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36118/ |
| Comment by Gerrit Updater [ 20/Oct/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36510 |
| Comment by Gerrit Updater [ 24/Oct/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36567 |
| Comment by Gerrit Updater [ 06/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36304/ Project: fs/lustre-release |
| Comment by Gerrit Updater [ 06/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36510/ |
| Comment by Gerrit Updater [ 06/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36567/ |
| Comment by Gerrit Updater [ 11/Dec/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36991 |
| Comment by Gerrit Updater [ 10/Jan/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37191 |
| Comment by Gerrit Updater [ 28/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37191/ |
| Comment by Gerrit Updater [ 31/Jan/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37391 |
| Comment by Gerrit Updater [ 03/Feb/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37408 |
| Comment by Gerrit Updater [ 10/Feb/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37519 |
| Comment by Gerrit Updater [ 14/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37408/ |
| Comment by Gerrit Updater [ 20/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35350/ |
| Comment by Gerrit Updater [ 20/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37519/ |
| Comment by Gerrit Updater [ 26/Feb/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37733 |
| Comment by Gerrit Updater [ 27/Feb/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/37736 |
| Comment by Gerrit Updater [ 01/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35410/ |
| Comment by Gerrit Updater [ 02/Mar/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37776 |
| Comment by Gerrit Updater [ 09/Mar/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37828 |
| Comment by Gerrit Updater [ 09/Mar/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37829 |
| Comment by Gerrit Updater [ 11/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37776/ |
| Comment by Gerrit Updater [ 11/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37733/ |
| Comment by Gerrit Updater [ 11/Mar/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37881 |
| Comment by Gerrit Updater [ 17/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37736/ |
| Comment by Gerrit Updater [ 24/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35411/ |
| Comment by Gerrit Updater [ 24/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37828/ |
| Comment by Gerrit Updater [ 24/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37829/ |
| Comment by Gerrit Updater [ 26/Mar/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38081 |
| Comment by Gerrit Updater [ 13/Apr/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38211 |
| Comment by Gerrit Updater [ 19/Apr/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38081/ |
| Comment by Gerrit Updater [ 27/Apr/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38389 |
| Comment by Gerrit Updater [ 27/Apr/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38390 |
| Comment by Gerrit Updater [ 07/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38390/ |
| Comment by Gerrit Updater [ 07/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37881/ |
| Comment by Gerrit Updater [ 07/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38389/ |
| Comment by Gerrit Updater [ 07/May/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38530 |
| Comment by Gerrit Updater [ 08/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37391/ |
| Comment by Gerrit Updater [ 12/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38574 |
| Comment by Gerrit Updater [ 14/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38211/ |
| Comment by Gerrit Updater [ 14/May/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38601 |
| Comment by Gerrit Updater [ 14/May/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38602 |
| Comment by Gerrit Updater [ 20/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38530/ |
| Comment by Gerrit Updater [ 20/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38601/ |
| Comment by Gerrit Updater [ 20/May/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38673 |
| Comment by Gerrit Updater [ 21/May/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38574/ |
| Comment by Gerrit Updater [ 02/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38602/ |
| Comment by Gerrit Updater [ 02/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38673/ |
| Comment by Gerrit Updater [ 02/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38804 |
| Comment by Gerrit Updater [ 02/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38810 |
| Comment by Gerrit Updater [ 10/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38804/ |
| Comment by Gerrit Updater [ 12/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38913 |
| Comment by Gerrit Updater [ 12/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38914 |
| Comment by Gerrit Updater [ 18/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38981 |
| Comment by Gerrit Updater [ 19/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38810/ |
| Comment by Gerrit Updater [ 19/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38913/ |
| Comment by Gerrit Updater [ 19/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38914/ |
| Comment by Gerrit Updater [ 21/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39116 |
| Comment by Gerrit Updater [ 21/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39117 |
| Comment by Gerrit Updater [ 21/Jun/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39118 |
| Comment by Gerrit Updater [ 22/Jun/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39132 |
| Comment by Gerrit Updater [ 28/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38981/ |
| Comment by Gerrit Updater [ 28/Jun/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39117/ |
| Comment by Gerrit Updater [ 04/Jul/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39116/ |
| Comment by Gerrit Updater [ 04/Jul/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39132/ |
| Comment by Gerrit Updater [ 04/Jul/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39276 |
| Comment by Gerrit Updater [ 07/Jul/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39293 |
| Comment by Gerrit Updater [ 07/Jul/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39294 |
| Comment by Gerrit Updater [ 13/Aug/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39276/ |
| Comment by Gerrit Updater [ 13/Aug/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39294/ |
| Comment by Gerrit Updater [ 13/Aug/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39668 |
| Comment by Gerrit Updater [ 10/Sep/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39875 |
| Comment by Gerrit Updater [ 10/Sep/20 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/39876 |
| Comment by Gerrit Updater [ 21/Oct/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40334 |
| Comment by Gerrit Updater [ 21/Oct/20 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40339 |
| Comment by Gerrit Updater [ 15/Feb/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41670 |
| Comment by Gerrit Updater [ 15/Feb/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41671 |
| Comment by Gerrit Updater [ 15/Feb/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41672 |
| Comment by Gerrit Updater [ 15/Feb/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41673 |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39875/ |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39876/ |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39668/ |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39293/ |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41783 |
| Comment by Gerrit Updater [ 06/Mar/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41670/ |
| Comment by Gerrit Updater [ 08/Mar/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41938 |
| Comment by Gerrit Updater [ 09/Mar/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/41957 |
| Comment by Gerrit Updater [ 13/Mar/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41783/ |
| Comment by Gerrit Updater [ 30/Mar/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41938/ |
| Comment by Gerrit Updater [ 30/Mar/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/43171 |
| Comment by Gerrit Updater [ 10/Apr/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41957/ |
| Comment by Gerrit Updater [ 14/Jul/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44309 |
| Comment by Gerrit Updater [ 16/Jul/21 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/44332 |
| Comment by Gerrit Updater [ 27/Jul/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44332/ |
| Comment by Gerrit Updater [ 08/Aug/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44529 |
| Comment by Gerrit Updater [ 10/Aug/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/43171/ |
| Comment by Gerrit Updater [ 10/Aug/21 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/44580 |
| Comment by Gerrit Updater [ 10/Aug/21 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/44581 |
| Comment by Gerrit Updater [ 18/Aug/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44309/ |
| Comment by Gerrit Updater [ 11/Sep/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44581/ |
| Comment by Gerrit Updater [ 16/Nov/21 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/45584 |
| Comment by Gerrit Updater [ 30/Nov/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45584/ |
| Comment by Gerrit Updater [ 13/Dec/21 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44580/ |
| Comment by Gerrit Updater [ 21/Jan/22 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46251 |
| Comment by Gerrit Updater [ 09/Jun/22 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47579 |
| Comment by Gerrit Updater [ 11/Jun/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46251/ |
| Comment by Gerrit Updater [ 08/Aug/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47579/ |
| Comment by Gerrit Updater [ 15/Aug/22 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/48222 |
| Comment by Gerrit Updater [ 01/Sep/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48222/ |
| Comment by Gerrit Updater [ 02/Feb/23 ] |
|
"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49872 |
| Comment by Gerrit Updater [ 22/Mar/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50376 |
| Comment by Gerrit Updater [ 24/Mar/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50412 |
| Comment by Gerrit Updater [ 29/Mar/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50462 |
| Comment by Gerrit Updater [ 04/Apr/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50376/ |
| Comment by Gerrit Updater [ 04/Apr/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50412/ |
| Comment by Gerrit Updater [ 05/Apr/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50545 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50832 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50833 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50834 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50835 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50836 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50837 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50838 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50839 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50840 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50841 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50842 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50843 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50844 |
| Comment by Gerrit Updater [ 02/May/23 ] |
|
"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50845 |
| Comment by Gerrit Updater [ 16/May/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51009 |
| Comment by Gerrit Updater [ 19/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/36991/ |
| Comment by Gerrit Updater [ 19/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50462/ |
| Comment by Gerrit Updater [ 20/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49872/ |
| Comment by Gerrit Updater [ 31/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50545/ |
| Comment by Gerrit Updater [ 31/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50834/ |
| Comment by Gerrit Updater [ 09/Jun/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50832/ |
| Comment by Gerrit Updater [ 19/Jul/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50833/ |
| Comment by Gerrit Updater [ 19/Jul/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50835/ |
| Comment by Gerrit Updater [ 19/Jul/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50836/ |
| Comment by Gerrit Updater [ 19/Jul/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50838/ |
| Comment by Gerrit Updater [ 19/Jul/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50839/ |
| Comment by Alex Zhuravlev [ 20/Jul/23 ] |
with this patch landed some debug marks seem to get lost. [ 52.211151] Lustre: DEBUG MARKER: == conf-sanity test 0: single mount setup ================ 11:01:22 (1689850882) while the script itself had reached test 9:
== conf-sanity test 9: test ptldebug and subsystem for mkfs ========================================================== 11:14:18 (1689851658)
|
| Comment by James A Simmons [ 20/Jul/23 ] |
|
How is sanity 60d passing? Can we have a diff to the test suite so we can reproduce your issues. |
| Comment by Alex Zhuravlev [ 27/Jul/23 ] |
|
> How is sanity 60d passing? Can we have a diff to the test suite so we can reproduce your issues. I used ONLY=0-10 conf-sanity for testing. clean master branch: $ grep MARK.*== /tmp/tmp.NRheCxLFD3/serial.txt [ 26.223048] Lustre: DEBUG MARKER: == conf-sanity test 0: single mount setup ================ 08:30:27 (1690446627) [ 671.513515] Lustre: DEBUG MARKER: == conf-sanity test 10a: find lctl param broken symlinks ========================================================== 08:41:12 (1690447272) [ 695.136877] Lustre: DEBUG MARKER: == conf-sanity test complete, duration 692 sec =========== 08:41:36 (1690447296) the same conf-sanity with "LU-9859 lnet: move ioctl device to lnet" reverted: [alexey@rz ~]$ grep MARK.*== /tmp/tmp.YdwzpYe8CE/serial.txt [ 25.255193] Lustre: DEBUG MARKER: == conf-sanity test 0: single mount setup ================ 08:30:17 (1690446617) [ 42.532709] Lustre: DEBUG MARKER: == conf-sanity test 1: start up ost twice (should return errors) ========================================================== 08:30:34 (1690446634) [ 72.423932] Lustre: DEBUG MARKER: == conf-sanity test 2: start up mds twice (should return err) ========================================================== 08:31:04 (1690446664) [ 94.203070] Lustre: DEBUG MARKER: == conf-sanity test 3: mount client twice (should return err) ========================================================== 08:31:26 (1690446686) [ 116.883153] Lustre: DEBUG MARKER: == conf-sanity test 4: force cleanup ost, then cleanup === 08:31:48 (1690446708) [ 165.722055] Lustre: DEBUG MARKER: == conf-sanity test 5a: force cleanup mds, then cleanup == 08:32:37 (1690446757) [ 205.912471] Lustre: DEBUG MARKER: == conf-sanity test 5b: Try to start a client with no MGS (should return errs) ========================================================== 08:33:17 (1690446797) [ 299.191296] Lustre: DEBUG MARKER: == conf-sanity test 5c: cleanup after failed mount (bug 2712) (should return errs) ========================================================== 08:34:51 (1690446891) [ 305.612684] Lustre: DEBUG MARKER: == conf-sanity test 5d: mount with ost down ============== 08:34:57 (1690446897) [ 433.151871] Lustre: DEBUG MARKER: == conf-sanity test 5e: delayed connect, don't crash (bug 10268) ========================================================== 08:37:05 (1690447025) [ 456.989830] Lustre: DEBUG MARKER: == conf-sanity test 5f: mds down, cleanup after failed mount (bug 2712) ========================================================== 08:37:28 (1690447048) [ 457.045524] Lustre: DEBUG MARKER: == conf-sanity test 5g: handle missing debugfs =========== 08:37:29 (1690447049) [ 457.222051] Lustre: DEBUG MARKER: == conf-sanity test 5h: start mdt failure at mdt_fs_setup() ========================================================== 08:37:29 (1690447049) [ 485.312693] Lustre: DEBUG MARKER: == conf-sanity test 5i: start mdt failure at mdt_quota_init() ========================================================== 08:37:57 (1690447077) [ 521.562925] Lustre: DEBUG MARKER: == conf-sanity test 6: manual umount, then mount again === 08:38:33 (1690447113) [ 544.272564] Lustre: DEBUG MARKER: == conf-sanity test 7: manual umount, then cleanup ======= 08:38:56 (1690447136) [ 566.972597] Lustre: DEBUG MARKER: == conf-sanity test 8: double mount setup ================ 08:39:18 (1690447158) [ 590.723481] Lustre: DEBUG MARKER: == conf-sanity test 9: test ptldebug and subsystem for mkfs ========================================================== 08:39:42 (1690447182) [ 670.891275] Lustre: DEBUG MARKER: == conf-sanity test 10a: find lctl param broken symlinks ========================================================== 08:41:03 (1690447263) [ 695.687611] Lustre: DEBUG MARKER: == conf-sanity test complete, duration 693 sec =========== 08:41:28 (1690447288) |
| Comment by Gerrit Updater [ 07/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50843/ |
| Comment by Gerrit Updater [ 19/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50837/ |
| Comment by Gerrit Updater [ 19/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50840/ |
| Comment by Gerrit Updater [ 19/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50841/ |
| Comment by Gerrit Updater [ 19/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51009/ |
| Comment by Gerrit Updater [ 19/Aug/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52010 |
| Comment by Gerrit Updater [ 24/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50842/ |
| Comment by Gerrit Updater [ 31/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50844/ |
| Comment by Gerrit Updater [ 14/Oct/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52700 |
| Comment by Gerrit Updater [ 14/Oct/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52701 |
| Comment by Gerrit Updater [ 25/Oct/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52010/ |
| Comment by Gerrit Updater [ 01/Nov/23 ] |
|
"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52923 |
| Comment by Gerrit Updater [ 08/Nov/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52701/ |
| Comment by Gerrit Updater [ 18/Nov/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52700/ |
| Comment by Vladimir Saveliev [ 20/Nov/23 ] |
With this patch bash /usr/lib64/lustre/tests/llmount.sh (single node setup, vmware virtual machine, CentOS Stream release 8) crashes: [ 41.240485] libcfs: loading out-of-tree module taints kernel. [ 41.247560] Key type ._llcrypt registered [ 41.249128] Key type .llcrypt registered [ 41.506114] BUG: unable to handle kernel NULL pointer dereference at 00000000000000cc [ 41.508996] PGD 8000000004bc1067 P4D 8000000004bc1067 PUD 1988d067 PMD 0 [ 41.511787] Oops: 0000 [#1] SMP PTI [ 41.513298] CPU: 1 PID: 3744 Comm: lctl Tainted: G O --------- - - 4.18.0-477.15.1.el8.x86_64 #2 [ 41.516934] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020 [ 41.521529] RIP: 0010:cfs_trace_lock_tcd+0x6/0x80 [libcfs] [ 41.523332] Code: e9 48 89 e7 49 c7 c0 c0 86 48 c0 be 00 00 04 00 e8 3f fd ff ff 48 c7 c7 a0 0b 49 c0 e8 7b e1 67 d9 0f 1f 00 0f 1f 44 00 00 53 <0f> b7 47 4c 66 83 f8 02 77 43 48 89 fb 74 1a 66 83 f8 01 74 28 85 [ 41.529423] RSP: 0018:ffffa416c1157c60 EFLAGS: 00010202 [ 41.530802] RAX: 0000000000000001 RBX: 0000000000000080 RCX: 0000000000000000 [ 41.533363] RDX: 0000000080000000 RSI: 0000000000000000 RDI: 0000000000000080 [ 41.536707] RBP: ffffa416c1157d90 R08: 00000000ffffffff R09: 00000000130e0580 [ 41.540222] R10: ffffa416c1157da8 R11: 0000000000000001 R12: ffffffffc0498b00 [ 41.543573] R13: 0000000000000000 R14: 0000000000000080 R15: 0000000000000000 [ 41.546175] FS: 00007f28a90eb740(0000) GS:ffff93e76b040000(0000) knlGS:0000000000000000 [ 41.549481] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.551648] CR2: 00000000000000cc CR3: 00000000235cc002 CR4: 00000000003706e0 [ 41.555378] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 41.558481] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 41.561120] Call Trace: [ 41.562149] libcfs_debug_msg+0x100/0xb10 [libcfs] [ 41.564215] ? terminate_walk+0xd0/0xf0 [ 41.565779] ? filename_lookup.part.64+0xe0/0x170 [ 41.568254] ? libcfs_debug_subsys2str+0x30/0x30 [libcfs] [ 41.571316] ? libcfs_debug_subsys2str+0x30/0x30 [libcfs] [ 41.573735] ? cfs_str2mask+0x332/0x340 [libcfs] [ 41.575703] cfs_str2mask+0x332/0x340 [libcfs] [ 41.577523] ? libcfs_debug_subsys2str+0x30/0x30 [libcfs] [ 41.580080] libcfs_debug_str2mask+0xe8/0x190 [libcfs] [ 41.582512] proc_dobitmasks+0x108/0x150 [libcfs] [ 41.584494] lnet_debugfs_write+0x3f/0x70 [libcfs] [ 41.586557] full_proxy_write+0x53/0x80 [ 41.588260] vfs_write+0xa5/0x1b0 [ 41.589664] ksys_write+0x4f/0xb0 [ 41.591081] do_syscall_64+0x5b/0x1b0 It looks like tcd is NULL in: static inline struct cfs_trace_cpu_data * cfs_trace_get_tcd(void) { struct cfs_trace_cpu_data *tcd = &(*cfs_trace_data[cfs_trace_buf_idx_get()])[get_cpu()].tcd; cfs_trace_lock_tcd(tcd, 0); return tcd; } All is ok if this patch is reverted. |
| Comment by James A Simmons [ 21/Nov/23 ] |
|
I also test on a single node for Ubuntu and didn't see this. Did you change anything in your cfg/local.sh file to expose this bug? Sounds like someone is trying to print a debug message before libcfs debugging is setup. |
| Comment by Vladimir Saveliev [ 23/Nov/23 ] |
It appeared after update from "New tag 2.15.59" to "Revert "LU-17131 ldiskfs: el9.2 encdata and filename-encode". Somehow it eventually disappeared. [21171.870650] Lustre: Lustre: Build Version: 2.15.59_32_g1bb972b [21171.928601] LNet: Using FastReg for registration [21171.993601] LNet: Added LNI 192.168.102.20@o2ib [8/256/0/180] [21172.240786] Lustre: Echo OBD driver; http://www.lustre.org/ [21186.068097] Lustre: DEBUG MARKER: fre0220: executing wait_import_state_mount FULL mdc.lustre-MDT0000-mdc-*.mds_server_uuid [21186.993751] Lustre: DEBUG MARKER: fre0220: executing wait_import_state_mount FULL mdc.lustre-MDT0001-mdc-*.mds_server_uuid [21187.929835] Lustre: DEBUG MARKER: fre0220: executing wait_import_state_mount FULL mdc.lustre-MDT0002-mdc-*.mds_server_uuid [21188.850020] Lustre: DEBUG MARKER: fre0220: executing wait_import_state_mount FULL mdc.lustre-MDT0003-mdc-*.mds_server_uuid [21194.566164] Lustre: DEBUG MARKER: fre0220: executing wait_import_state_mount (FULL|IDLE) osc.lustre-OST0000-osc-[-0-9a-f]*.ost_server_uuid [21247.718136] Lustre: DEBUG MARKER: fre0220: executing unload_modules_local [21248.017247] LNet: 277562:0:(lib-ptl.c:956:lnet_clear_lazy_portal()) Active lazy portal 0 on exit [21249.101958] LNet: Removed LNI 192.168.102.20@o2ib [21249.307129] Key type .llcrypt unregistered [21249.317131] Key type ._llcrypt unregistered [21301.274884] Key type ._llcrypt registered [21301.278217] Key type .llcrypt registered [30168.281419] BUG: unable to handle kernel NULL pointer dereference at 00000000000003cc [30168.286373] PGD 0 P4D 0 [30168.287238] Oops: 0000 [#1] SMP PTI [30168.288290] CPU: 7 PID: 388777 Comm: modprobe Kdump: loaded Tainted: G OE ---------r- - 4.18.0-348.20.1.el8_5.x86_64 #1 [30168.291221] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 [30168.292748] RIP: 0010:cfs_trace_lock_tcd+0x6/0x70 [libcfs] [30168.294199] Code: e9 48 89 e7 49 c7 c0 c0 d8 a5 c0 be 00 00 04 00 e8 5f fd ff ff 48 c7 c7 f0 5d a6 c0 e8 13 3b 4a ee 0f 1f 00 66 66 66 66 90 53 <0f> b7 47 4c 66 83 f8 02 77 37 48 89 fb 74 16 66 83 f8 01 74 20 85 [30168.298429] RSP: 0018:ffffb19a40ba3b60 EFLAGS: 00010202 [30168.299802] RAX: 0000000000000007 RBX: 0000000000000380 RCX: 0000000000000000 [30168.301508] RDX: 0000000080000000 RSI: 0000000000000000 RDI: 0000000000000380 [30168.303229] RBP: ffffb19a40ba3c90 R08: ffffb19a40ba3ce8 R09: ffff9a6dfffd2000 [30168.304929] R10: ffffb19a40ba3cb0 R11: fffff5fc84d55c08 R12: ffffffffc0b205c0 [30168.306741] R13: 0000000000000000 R14: 0000000000000380 R15: 0000000000000000 [30168.309129] FS: 00007f2de2fe5740(0000) GS:ffff9a6dfbdc0000(0000) knlGS:0000000000000000 [30168.311474] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [30168.313287] CR2: 00000000000003cc CR3: 0000000130abe000 CR4: 00000000000406e0 [30168.315421] Call Trace: [30168.316564] libcfs_debug_msg+0x100/0xb00 [libcfs] [30168.318195] ? __wake_up_common_lock+0x89/0xc0 [30168.319677] ? netlink_broadcast_filtered+0x145/0x400 [30168.321298] ? 0xffffffffc0b4a000 [30168.322538] ? lnet_init+0x62/0x1000 [lnet] [30168.323959] lnet_init+0x62/0x1000 [lnet] [30168.325348] do_one_initcall+0x46/0x1d0 [30168.326447] ? do_init_module+0x22/0x220 [30168.327550] ? kmem_cache_alloc_trace+0x131/0x270 [30168.328781] do_init_module+0x5a/0x220 [30168.329841] load_module+0x14c5/0x17f0 [30168.330886] ? __do_sys_finit_module+0xa8/0x110 [30168.332065] __do_sys_finit_module+0xa8/0x110 [30168.333216] do_syscall_64+0x5b/0x1a0 [30168.334263] entry_SYSCALL_64_after_hwframe+0x65/0xca [30168.335533] RIP: 0033:0x7f2de1fb852d [30168.336540] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2b 79 2c 00 f7 d8 64 89 01 48 [30168.340556] RSP: 002b:00007ffe6a6ca438 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [30168.342303] RAX: ffffffffffffffda RBX: 000056352b5e2420 RCX: 00007f2de1fb852d [30168.343956] RDX: 0000000000000000 RSI: 000056352b5df8f0 RDI: 0000000000000000 [30168.345599] RBP: 000056352b5df8f0 R08: 0000000000000000 R09: 0000000000000050 [30168.347250] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [30168.348885] R13: 000056352b5e23c0 R14: 0000000000040000 R15: 0000000000000000 [30168.350529] Modules linked in: lnet(OE+) libcfs(OE) rpcrdma ib_srpt ib_isert iscsi_target_mod target_core_mod ib_iser libiscsi scsi_transport_iscsi rdma_rxe ip6_udp_tunnel udp_tunnel rdma_ucm rdma_cm iw_cm ib_cm ib_uverbs ib_core rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul cirrus drm_kms_helper ghash_clmulni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops drm virtio_balloon pcspkr joydev i2c_piix4 sunrpc binfmt_misc ext4 mbcache jbd2 ata_generic ata_piix libata crc32c_intel virtio_blk serio_raw e1000 [last unloaded: libcfs] [30168.362036] CR2: 00000000000003cc |
| Comment by Vladimir Saveliev [ 10/Dec/23 ] |
It seems that something got broken with libcfs module parameters. [root@vmcentos7-1 ~]# cat /etc/modprobe.d/lustre.conf options lnet networks=tcp0(ens33) options libcfs libcfs_debug=33965841 Then with [root@vmcentos7-1 ~]# modprobe libcfs [root@vmcentos7-1 ~]# rmmod libcfs I get: [ 50.390835] BUG: unable to handle kernel NULL pointer dereference at 00000000000000cc [ 50.393177] IP: [<ffffffffc07933fa>] cfs_trace_lock_tcd+0xa/0x80 [libcfs] ... [ 50.422078] CPU: 1 PID: 2517 Comm: rmmod Kdump: loaded Tainted: G OE ------------ 3.10.0-1160.88.1.el7.x86_64 #4 ... [ 50.446143] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.447885] Call Trace: [ 50.448517] [<ffffffffc0793837>] libcfs_debug_msg+0xd7/0xa30 [libcfs] [ 50.449904] [<ffffffff9d5621ed>] ? call_rcu_sched+0x1d/0x30 [ 50.450999] [<ffffffff9d680af1>] ? mnt_get_count+0x51/0x70 [ 50.452449] [<ffffffff9d688935>] ? simple_release_fs+0x45/0x50 [ 50.453652] [<ffffffffc07a1692>] ? libcfs_exit+0x27/0x995 [libcfs] [ 50.455271] [<ffffffffc07a1706>] libcfs_exit+0x9b/0x995 [libcfs] [ 50.456848] [<ffffffff9d52329e>] SyS_delete_module+0x19e/0x320 |
| Comment by James A Simmons [ 10/Dec/23 ] |
|
Thanks. Let me try to reproduce this problem. |
| Comment by James A Simmons [ 13/Dec/23 ] |
|
Yes I can reproduce it. Also patch https://review.whamcloud.com/c/fs/lustre-release/+/41664 resolves this |