Skip to content

xfs: Introduce a common helper to calculate the number of blocks per cluster

Jeff Liu linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 12 repliesIn review
  2. v15 patches 9 repliesSuperseded

v2->v1 from the cover letter

* Rename xfs_ialloc_blks_per_cluster() to xfs_icluster_size_fsb() as per dave's suggestion.
* Remove three macros XFS_IALLOC_INODES/XFS_INODE_CLUSTER_SIZE/XFS_IALLOC_BLOCKS separately as preparation steps.
* s/ninodes/inodes_per_cluster/g, as the later is more meaningful.
* Remove wrong commit notes I previously written for using xfs_ialloc_blks_per_cluster in xfs_imap().

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8xfs: get rid of XFS_IALLOC_INODES macrosfs/xfs/xfs_ialloc.c fs/xfs/xfs_ialloc.h fs/xfs/xfs_log_recover.c+8 -91 reply
2/8xfs: get rid of XFS_INODE_CLUSTER_SIZE macrosfs/xfs/xfs_ialloc.c fs/xfs/xfs_ialloc.h fs/xfs/xfs_inode.c +3 more+18 -211 reply
3/8xfs: get rid of XFS_IALLOC_BLOCKS macrosfs/xfs/xfs_ialloc.c fs/xfs/xfs_ialloc.h fs/xfs/xfs_inode.c +3 more+15 -202 replies
4/8xfs: introduce a common helper xfs_icluster_size_fsbfs/xfs/xfs_ialloc.h+10 -01 reply
5/8xfs: use xfs_icluster_size_fsb in xfs_bulkstatfs/xfs/xfs_itable.c+9 -132 replies
6/8xfs: use xfs_icluster_size_fsb in xfs_ialloc_inode_initfs/xfs/xfs_ialloc.c+8 -152 replies
7/8xfs: use xfs_icluster_size_fsb in xfs_ifree_clusterfs/xfs/xfs_inode.c+6 -131 reply
8/8xfs: use xfs_icluster_size_fsb in xfs_imapfs/xfs/xfs_ialloc.c+2 -20 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDave ChinnerChristoph Hellwig
SeriesR-b
1/8R-b
2/8R-b
3/8R-b R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] xfs: Introduce a common helper to calculate the number of blocks per cluster

Hi Folks,

Here is the v2 patch series to introduce a common helper which could be used to calculate the number of file system blocks in an inode cluster.

v2->v1:
* Rename xfs_ialloc_blks_per_cluster() to xfs_icluster_size_fsb() as per dave's suggestion.
* Remove three macros XFS_IALLOC_INODES/XFS_INODE_CLUSTER_SIZE/XFS_IALLOC_BLOCKS separately as preparation steps.
* s/ninodes/inodes_per_cluster/g, as the later is more meaningful.
* Remove wrong commit notes I previously written for using xfs_ialloc_blks_per_cluster in xfs_imap().

Thanks,
-Jeff

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs