lkml.org 
[lkml]   [2007]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] Heads up on sys_fallocate()
    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.
    >

    Agreed on both points. The hints would be for things like start block,
    or speculative EOF preallocation, not contiguity, which I think should
    always be the goal.

    -Eric
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-06 17:55    [W:5.186 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site