linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ext2/3 fragments support
  2003-04-10 21:35 ext2/3 fragments support Lorenzo Allegrucci
@ 2003-04-10 20:04 ` Andreas Dilger
  2003-04-10 20:08 ` Maciej Soltysiak
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 2003-04-10 20:04 UTC (permalink / raw)
  To: Lorenzo Allegrucci; +Cc: linux-kernel

On Apr 10, 2003  21:35 +0000, Lorenzo Allegrucci wrote:
> Fragments support on ext2/3 filesystems seems disabled
> or non fully functional.
> Are there any plans to implement fragments?

They have never been enabled.  The "goal" is to imlement fragments as a
type of extended attribute, so that they can be packed into a single block
or inline in a larger inode (along with other EA data) instead of being
fixed-size hunks.

The first thing that needs doing is fixing the current ext2/3 EA sharing
scheme, which currently only shares blocks if they are identical and is
therefore only really useful for ACLs.

The best proposal so far for EA sharing is to put them into a directory-like
structure (maybe one dir per block group or something) and have the EA type
and data be packed inline into the directory (like the inode number and
filename are done with regular directories).  Each inode would also have a
"catalog" of the EAs that it has (itself an EA, either inline in a larger
inode or in the directory pointed to by, say, i_faddr).  Shared entries would
be like hard links pointed to by mutliple catalogs, with a refcount.

This was discussed on ext2-devel about a year ago, but no takers on the
implementation yet (I might eventually need to implement it this year if
nobody beats me to it, because we need better EAs than one per 4kB of disk).

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/


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

* Re: ext2/3 fragments support
  2003-04-10 21:35 ext2/3 fragments support Lorenzo Allegrucci
  2003-04-10 20:04 ` Andreas Dilger
@ 2003-04-10 20:08 ` Maciej Soltysiak
  1 sibling, 0 replies; 3+ messages in thread
From: Maciej Soltysiak @ 2003-04-10 20:08 UTC (permalink / raw)
  To: Lorenzo Allegrucci; +Cc: linux-kernel

> Are there any plans to implement fragments?
What are fragments?

Regards,
Maciej


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

* ext2/3 fragments support
@ 2003-04-10 21:35 Lorenzo Allegrucci
  2003-04-10 20:04 ` Andreas Dilger
  2003-04-10 20:08 ` Maciej Soltysiak
  0 siblings, 2 replies; 3+ messages in thread
From: Lorenzo Allegrucci @ 2003-04-10 21:35 UTC (permalink / raw)
  To: linux-kernel


Fragments support on ext2/3 filesystems seems disabled
or non fully functional.
Are there any plans to implement fragments?

Bye


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

end of thread, other threads:[~2003-04-10 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-10 21:35 ext2/3 fragments support Lorenzo Allegrucci
2003-04-10 20:04 ` Andreas Dilger
2003-04-10 20:08 ` Maciej Soltysiak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).