[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070306144746.GA22052@infradead.org>
Date: Tue, 6 Mar 2007 14:47:46 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Ulrich Drepper <drepper@...hat.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Mingming Cao <cmm@...ibm.com>, Jan Kara <jack@...e.cz>,
Andrew Morton <akpm@...ux-foundation.org>, nscott@...nex.com,
"Amit K. Arora" <aarora@...ux.vnet.ibm.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org, suparna@...ibm.com, alex@...sterfs.com,
suzuki@...ibm.com
Subject: Re: [RFC] Heads up on sys_fallocate()
On Tue, Mar 06, 2007 at 06:36:09AM -0800, Ulrich Drepper wrote:
> Christoph Hellwig wrote:
> > fallocate with the whence argument and flags is already quite complicated,
> > I'd rather have another call for placement decisions, that would
> > be called on an fd to do placement decissions for any further allocations
> > (prealloc, write, etc)
>
> Yes, posix_fallocate shouldn't be made more complicated. But I don't
> understand why requesting linear layout of the blocks should be an
> option. It's always an advantage if the blocks requested this way are
> linear on disk. So, the kernel should always do its best to make this
> happen, without needing an additional option.
There are HPC workloads where you have multi writers on multiple machines
that write to different parts of a file. You preferably want each
of those regions in separate allocation groups. (Or tell the customers
to use separate files for the regions..)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists