* Re: xfs_fsr allocation group optimization
[not found] ` <1181603256.3758.46.camel@edge.yarra.acx>
@ 2007-06-12 1:38 ` David Chinner
0 siblings, 0 replies; only message in thread
From: David Chinner @ 2007-06-12 1:38 UTC (permalink / raw)
To: Nathan Scott; +Cc: Chris Wedgwood, Johan Andersson, xfs, linux-fsdevel
On Tue, Jun 12, 2007 at 09:07:36AM +1000, Nathan Scott wrote:
> On Mon, 2007-06-11 at 08:58 -0700, Chris Wedgwood wrote:
> > > In the way xfs_fsr operates now, in almost all user space, I don't
> > > see any good way to tell XFS where to place the extents, other than
> > > creating the temporary file in the same directory as the original
> > > file.
> >
> > Exactly.
> >
> > > My question is really, is there a better way than "find -xdev -inum"
> > > to find what file points to a given inode?
> >
> > You can build then entire tree in-core using bulkstat and readdir,
> > doing the bulkstat first means you can try to optimize the order you
> > do the readdirs in somewhat.
>
> Probably better to change the kernel extent-swap code to not do
> alloc-near-tempinode allocations, and instead find a way to pass
> XFS_ALLOCTYPE_THIS_AG/XFS_ALLOCTYPE_NEAR_BNO/or some saner alloc
> flag down to the allocator for all extent swapping allocations.
/me sighs and points to the generic allocation interface I wanted
for exactly these reasons:
http://marc.info/?l=linux-fsdevel&m=116278169519095&w=2
Instead, we're getting a mostly useless XFS_IOC_RESVSP replacement
called sys_fallocate() that provides us with pretty much nothing.
Given that sys_fallocate() can't be extended to do this sort of
thing, we're going to be stuck with doing our own thing again....
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-12 1:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1181544692.19145.44.camel@gentoo-johan.transmode.se>
[not found] ` <20070611073559.GA26257@tuatara.stupidest.org>
[not found] ` <1181551409.19145.57.camel@gentoo-johan.transmode.se>
[not found] ` <20070611090138.GA28907@tuatara.stupidest.org>
[not found] ` <1181553356.19145.65.camel@gentoo-johan.transmode.se>
[not found] ` <20070611094133.GA31108@tuatara.stupidest.org>
[not found] ` <1181558353.19145.76.camel@gentoo-johan.transmode.se>
[not found] ` <20070611155824.GA12668@tuatara.stupidest.org>
[not found] ` <1181603256.3758.46.camel@edge.yarra.acx>
2007-06-12 1:38 ` xfs_fsr allocation group optimization David Chinner
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).