Dave Chinner a6a65fef5e xfs: log stripe roundoff is a property of the log
We don't need to look at the xfs_mount and superblock every time we
need to do an iclog roundoff calculation. The property is fixed for
the life of the log, so store the roundoff in the log at mount time
and use that everywhere.

On a debug build:

$ size fs/xfs/xfs_log.o.*
   text	   data	    bss	    dec	    hex	filename
  27360	    560	      8	  27928	   6d18	fs/xfs/xfs_log.o.orig
  27219	    560	      8	  27787	   6c8b	fs/xfs/xfs_log.o.patched

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
2021-06-18 08:21:48 -07:00
..
2019-11-07 13:00:53 -08:00
2021-04-15 09:35:51 -07:00
2021-06-02 10:48:24 +10:00
2021-06-02 10:48:24 +10:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-05-20 08:31:22 -07:00
2021-04-15 09:35:51 -07:00
2021-04-15 09:35:51 -07:00
2021-06-02 10:48:24 +10:00
2021-06-03 15:56:04 -07:00
2021-06-03 15:56:04 -07:00