All of lore.kernel.org
 help / color / mirror / Atom feed
* inconsistent xfs log record
@ 2008-04-08  1:54 Michael Nishimoto
  2008-04-08 15:50 ` David Chinner
  2008-04-09  4:38 ` Timothy Shimmin
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Nishimoto @ 2008-04-08  1:54 UTC (permalink / raw)
  To: XFS Mailing List

I've just finished analyzing an xfs filesystem which won't recover.
An inconsistent log record has 332 log operations but the num_logop field
in the record header says 333 log operations.  The result is that xfs recovery
complains with "bad clientid" because recovery eventually attempts to decode
garbage.

The log record really has 332 log ops (I counted!).

Looking through xlog_write(), I don't see any way that record_cnt can be bumped
without also writing out a log operation.

Does this issue ring a bell with anyone?

    Michael

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-09  4:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08  1:54 inconsistent xfs log record Michael Nishimoto
2008-04-08 15:50 ` David Chinner
2008-04-08 16:14   ` Michael Nishimoto
2008-04-08 21:36   ` Michael Nishimoto
2008-04-09  2:30     ` David Chinner
2008-04-09  4:38 ` Timothy Shimmin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.