Console message cleanup
(LU-1095)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Technical task | Priority: | Minor |
| Reporter: | Christopher Morrone | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llnl | ||
| Rank (Obsolete): | 14391 |
| Description |
|
Brian Behlendorf points out in the comments on patch 10394 that the following console warning message is not particularly intelligible as it stands. From lustre/ofd/ofd_dev.c: /* This can happen if a new OST is formatted and installed * in place of an old one at the same index. Instead of * precreating potentially millions of deleted old objects * (possibly filling the OST), only precreate the last batch. * LFSCK will eventually clean up any orphans. LU-14 */ if (diff > 5 * OST_MAX_PRECREATE) { diff = OST_MAX_PRECREATE / 2; LCONSOLE_WARN("%s: precreate FID "DOSTID" is over %u " "larger than the LAST_ID "DOSTID", only " "precreating the last %u objects.\n", ofd_name(ofd), POSTID(&oa->o_oi), 5 * OST_MAX_PRECREATE, POSTID(&oseq->os_oi), diff); ofd_seq_last_oid_set(oseq, ostid_id(&oa->o_oi) - diff); } Brian said:
I agree that this message needs improvment. |
| Comments |
| Comment by Peter Jones [ 12/Jun/14 ] |
|
Nathaniel Could you please assist with this one? Thanks Peter |
| Comment by Nathaniel Clark [ 20/Jun/14 ] |
| Comment by Christopher Morrone [ 26/Jun/14 ] |
|
Nathaniel, please see Andreas's review of revision 1 of patch 10394. Andreas rejected the idea of just changing the logging level. Therefore this ticket's intent is to rework the actual message into something that is understandable and actionable by a system administrator. |
| Comment by Nathaniel Clark [ 30/Oct/14 ] |
|
Chris, There's a new revision with an altered Console warning (and the developer info is dumped into the HA debug level). |
| Comment by Gerrit Updater [ 02/Nov/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10767/ |
| Comment by Joseph Gmitter (Inactive) [ 02/Nov/15 ] |
|
Landed for 2.8 |