Re: [PATCH v16 01/11] xfs: Reverse apply 72b97ea40d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 Mar 2021 at 06:02, Allison Henderson wrote:
> Originally we added this patch to help modularize the attr code in
> preparation for delayed attributes and the state machine it requires.
> However, later reviews found that this slightly alters the transaction
> handling as the helper function is ambiguous as to whether the
> transaction is diry or clean.  This may cause a dirty transaction to be
> included in the next roll, where previously it had not.  To preserve the
> existing code flow, we reverse apply this commit.

Indeed, In the mainline kernel, __xfs_attr_rmtval_remove() invokes
xfs_defer_finish() when the last remote block mapping has been removed. Also,
xfs_trans_roll_inode() is invoked before invoking xfs_attr_refillstate().

Hence,

Reviewed-by: Chandan Babu R <chandanrlinux@xxxxxxxxx>

--
chandan



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux