Re: [PATCH, realtime-rmap branch] xfs: lock the RT bitmap inode in xfs_efi_item_recover

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

 



On Tue, Oct 31, 2023 at 09:53:30AM -0700, Darrick J. Wong wrote:
> >  		if (!requeue_only) {
> >  			xfs_extent_free_get_group(mp, &fake);
> > +			if (xfs_efi_is_realtime(&fake))
> > +				xfs_rtbitmap_lock(tp, mp);
> 
> Curious, I thought that patch "xfs: support logging EFIs for realtime
> extents" already locked the rt bitmap?

> So that by the time we get to this part of the loop, the rtbitmap will
> be locked already?

Yes.  Indeed that problem was caused by my hacked tree.  Feel free to
discard this message.



[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