[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZW55DaL4mF9vO91L@dread.disaster.area>
Date: Tue, 5 Dec 2023 12:12:45 +1100
From: Dave Chinner <david@...morbit.com>
To: Kunhai Dai <daikunhai@...iglobal.com>
Cc: chandan.babu@...cle.com, djwong@...nel.org,
linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xfs: adjust the offset of the log statistics line
On Mon, Dec 04, 2023 at 02:26:44AM -0500, Kunhai Dai wrote:
> It would be more preferable to present xs_try_logspace and
> xs_sleep_logspace on the log line.
xs_try_logspace and xs_sleep_logspace are AIL tail pushing
statistics. They are related to reservation space exhaustion, not
journal operations, so they really are located in the correct stats
namespace.
Regardless of whether they are correctly located, we can't change
the layout of this file like this - it forms part of the user kABI.
The file format was defined back in June 2000 (early stages of the
XFS port to Linux) and so any change to the layout of the file will
break every application and script every written that parses it.
So while it might be "preferable" to change the order of stats in
the file to group them better, we simply cannot do that because it
will break userspace.
Cheers,
-Dave.
--
Dave Chinner
david@...morbit.com
Powered by blists - more mailing lists