Re: [PATCH 04/11] xfs: split xfs_mod_freecounter

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

 



On Mon, Mar 25, 2024 at 04:41:53PM -0700, Darrick J. Wong wrote:
> On Mon, Mar 25, 2024 at 10:24:04AM +0800, Christoph Hellwig wrote:
> > xfs_mod_freecounter has two entirely separate code paths for adding or
> > subtracting from the free counters.  Only the subtract case looks at the
> > rsvd flag and can return an error.
> > 
> > Split xfs_mod_freecounter into separate helpers for subtracting or
> > adding the freecounter, and remove all the impossible to reach error
> > handling for the addition case.
> > 
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> 
> I'm guessing that the difference between v3 and v4 is that you can more
> easily integrate a freertx reserve pool now?

Yes.




[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