On Thu, Jun 14, 2007 at 03:14:58AM -0600, Andreas Dilger wrote:
> I suppose it might be a bit late in the game to add a "goal"
> parameter and e.g. FA_FL_REQUIRE_GOAL, FA_FL_NEAR_GOAL, etc to make
> the API more suitable for XFS? The goal could be a single __u64, or
> a struct with e.g. __u64 byte offset (possibly also __u32 lun like
> in FIEMAP). I guess the one potential limitation here is the
> number of function parameters on some architectures.
This isn't really about "more suitable for XFS" but more about more
suitable for sophisticated layout decisions.
But I'm still not confident this should be shohorned into this
syscall. In fact I'm already rather unhappy about the feature churn in
the current patch series.
The more I think about it the more I'd prefer we would just put a simple
syscall in that implements nothing but the posix_fallocate(3) semantics
as defined in SuS, and then go on to brainstorm about advanced
preallocation / layout hint semantics.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
- Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]