public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS journal log resetting
@ 2021-12-10 18:27 Chanchal Mathew
  2021-12-10 21:36 ` Dave Chinner
  0 siblings, 1 reply; 6+ messages in thread
From: Chanchal Mathew @ 2021-12-10 18:27 UTC (permalink / raw)
  To: linux-xfs

Hi

A question for the developers -

Is there a reason why a clean unmount on an XFS filesystem would not reset the log numbers to 0? The xfs_logprint output shows the head and tail log numbers to have the same number > 0 and as CLEAN. But the log number is not reset to 0 without running a xfs_repair -L. Is there a reason it’s not done as part of the unmount?

The problem I’m noticing is, the higher the log number, it takes longer for it to be mounted. Most time seems spent on the xlog_find_tail() call. 



Thank you!



- Chanchal

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

end of thread, other threads:[~2021-12-20 20:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-10 18:27 XFS journal log resetting Chanchal Mathew
2021-12-10 21:36 ` Dave Chinner
2021-12-11  0:09   ` Chanchal Mathew
2021-12-11  5:55     ` Eric Sandeen
     [not found]   ` <F6A3B616-EF69-4AFF-BB12-17D6E53AC8D3@gmail.com>
2021-12-12 23:08     ` Dave Chinner
     [not found]       ` <5171B0E5-B782-4787-BE20-A432D090A9A4@gmail.com>
2021-12-20 20:54         ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox