Thread (32 messages) 32 messages, 3 authors, 2025-05-01

Re: [PATCH v9 13/15] xfs: add xfs_compute_atomic_write_unit_max()

From: John Garry <john.g.garry@oracle.com>
Date: 2025-04-30 07:52:22
Also in: linux-block, linux-ext4, linux-fsdevel, linux-xfs, lkml

On 25/04/2025 17:45, John Garry wrote:
+static inline xfs_extlen_t xfs_calc_perag_awu_max(struct xfs_mount *mp)
+{
+	if (mp->m_ddev_targp->bt_bdev_awu_min > 0)
+		return max_pow_of_two_factor(mp->m_sb.sb_agblocks);
+	return mp->m_ag_max_usable;
I think that this should be rounddown_pow_of_two(mp->m_ag_max_usable)

ditto for rt

I will fix (unless disagree).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help