lkml.org 
[lkml]   [2007]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] Heads up on sys_fallocate()
    Jörn Engel wrote:
    > Does the allocation have to be persistent beyond lifetime of the file
    > descriptor? It would be fairly simple to support the write guarantee
    > while the file is open (or rather the inode remains cached) and drop it
    > afterwards.

    "The posix_fallocate() function shall ensure that any required storage
    for regular file data starting at offset and continuing for len bytes is
    allocated on the file system storage media."

    I interpret "on the storage media" to mean that it is persistent.

    -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-05 23:11    [W:4.057 / U:0.620 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site