Re: [PATCH] xfs: fix frozen file system assert in xfs_trans_alloc

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

 



On Thu, Jul 31, 2025 at 08:59:41AM -0700, Darrick J. Wong wrote:
> >  retry:
> > -	WARN_ON(mp->m_super->s_writers.frozen == SB_FREEZE_COMPLETE);
> >  	tp = __xfs_trans_alloc(mp, flags);
> > +	WARN_ON(mp->m_super->s_writers.frozen == SB_FREEZE_COMPLETE);
> 
> Empty transactions can run during a freeze, so please put back the
> original warning and comment:

Empty transactions don't end up in this code path any more.





[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