Re: [PATCH 11/16] xfs: connect up buffer reclaim priority hooks

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

 



On Mon, Nov 08, 2010 at 06:25:09AM -0500, Christoph Hellwig wrote:
> > +/*
> > + * buffer types 
> > + */
> > +#define	B_FS_DQUOT	1
> > +#define	B_FS_AGFL	2
> > +#define	B_FS_AGF	3
> > +#define	B_FS_ATTR_BTREE	4
> > +#define	B_FS_DIR_BTREE	5
> > +#define	B_FS_MAP	6
> > +#define	B_FS_INOMAP	7
> > +#define	B_FS_AGI	8
> > +#define	B_FS_INO	9
> 
> Is there any good reason to keep/reintroduce the buffer types?  In this
> series we're only using the refcounts, and I can't see any good use for
> the types either.

I just wanted to use the existing hooks without modifying them to be
plain "set reference" hooks. I'm not really fussed - this was just
the simplest way to get the hookÑ working.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux