lkml.org 
[lkml]   [2007]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/7][TAKE5] support new modes in fallocate
    On Jul 12, 2007  13:56 +0530, Amit K. Arora wrote:
    > As you suggest, let us just have two modes for the time being:
    >
    > #define FALLOC_ALLOCATE 0x1
    > #define FALLOC_ALLOCATE_KEEP_SIZE 0x2
    >
    > As the name suggests, when FALLOC_ALLOCATE_KEEP_SIZE mode is passed it
    > will result in file size not being changed even if the preallocation is
    > beyond EOF.

    What does FALLOC_ALLOCATE mean vs. not passing this flag? I have no
    objection to this as long as the code remains with these as "flags"
    instead of "modes"... Essentially just dropping the FALLOC_FL_DEALLOCATE
    and FALLOC_FL_DEL_DATA from the interface.

    Cheers, Andreas
    --
    Andreas Dilger
    Principal Software Engineer
    Cluster File Systems, Inc.

    -
    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-07-12 16:43    [W:4.164 / U:0.332 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site