lkml.org 
[lkml]   [2005]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: An nfs question ftruncate vs. pwrite
    Kenny Simpson wrote:

    >When a file that is opened with normal flags (O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE) is on NFS, and
    >it is exteded via ftruncate, the new expty pages get read back from the server before the system
    >call returns:
    > (from strace -T):
    >ftruncate64(3, 41943040) = 0 <0.063866>
    >

    Is there a question in there?

    If the question is whether the new empty pages get read in from the
    server before the ftruncate system call returns, then no, they do not.
    They get read in from the server as required in the normal course of
    future operations.

    Thanx...

    ps
    -
    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: 2005-12-07 22:14    [W:6.458 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site