public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Using filesystem blocks
@ 2004-09-02 19:29 Amit Gud
  2004-09-02 20:07 ` Chris Wedgwood
  0 siblings, 1 reply; 5+ messages in thread
From: Amit Gud @ 2004-09-02 19:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: gud

I don't know if this has been already discussed on the list before.

Is it wise enough to abstract away the usage of blocks for storing
extended attributes? I mean can the code  - of using filesystem
blocks, putting headers and all data in place within the blocks,
managing the block boundaries, padding ... - be taken away from within
the xattr code. I know xattr is filesystem specific, but if most of
filesystems are using blocks not associated with any inode to store
xattr-specifc information it could well be taken to a different layer
- just like mbcache. Almost only ext2/3 uses mbcache - and that too
only for xattr - but it is implemented at an abstract level.

Not only this would add to the modularization, this can help other
filesystems if they want to use filesystem blocks. Like if one wishes
to implement distributed filesystem, he may prefer to store the FS
metadata in blocks rather than in files. Is it advisible for him to
redo the code, which is very beautifully written in ext2/3 ? I think
not.

AG

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-03 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 19:29 Using filesystem blocks Amit Gud
2004-09-02 20:07 ` Chris Wedgwood
2004-09-03  4:56   ` Amit Gud
2004-09-03  8:19     ` Christoph Hellwig
2004-09-03 12:06       ` Amit Gud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox