From: Kenny Simpson <theonetruekenny@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: An nfs question ftruncate vs. pwrite
Date: Wed, 7 Dec 2005 12:39:32 -0800 (PST) [thread overview]
Message-ID: <20051207203932.25422.qmail@web34103.mail.mud.yahoo.com> (raw)
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>
-Kenny
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
next reply other threads:[~2005-12-07 20:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-07 20:39 Kenny Simpson [this message]
2005-12-07 21:12 ` Peter Staubach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051207203932.25422.qmail@web34103.mail.mud.yahoo.com \
--to=theonetruekenny@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®