Re: [RFC] Ext3 online defrag

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

 



> On Mon, Oct 23, 2006 at 02:27:10PM +0200, Jan Kara wrote:
> 
> >   I've written a simple patch implementing ext3 ioctl for file
> > relocation.
> 
> Have you looked at XFS's ioctl XFS_IOC_SWAPEXT?  That seems like a
> reasonably simple model to start with.
  No, I did not. Thanks for the pointer.

> Breifly, the idea there is that you create a new file, copy the file
> you wish to reorganize and then switch the extents.
  That is basically what I do...

> What the userspace does now it pretty simplistic but with some effort
> additional kernel interfaces could be added to make things a little
> more optimal globally where possible (a lot of the requirements are
> probably fs-specific though).
  I guess defragmentation is so fs specific that a generic interface for
it does not make too much sence. Especially if we care about
performance...

								Honza
-- 
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux