Re: Using filesystem blocks

From: Christoph Hellwig
Date: Fri Sep 03 2004 - 03:34:21 EST


On Fri, Sep 03, 2004 at 10:26:23AM +0530, Amit Gud wrote:
> >
> > > Is it wise enough to abstract away the usage of blocks for storing
> > > extended attributes?
> >
> > No. Some fs' will store xattr data in the inodes if it fits.
> >
>
> First up, why is mbcache code is written at VFS layer than being
> filesystem specific? Neccessarily to take away the coding overheads of
> maintaining block cache that any filesystem uses, even though given
> that only ext2 and ext3 uses it. It facilitates code reuse.

It is not written at the VFS level. It's a library ontop of the buffercache
than can be reused by filesystems.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/