public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Hejtmanek <xhejtman@ics.muni.cz>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: linux-nfs@vger.kernel.org
Subject: pNFS timeouts
Date: Mon, 14 Jun 2010 10:51:57 +0200	[thread overview]
Message-ID: <20100614085157.GS17703@ics.muni.cz> (raw)

Hi,

I'm playing with pNFS (spnfs layouts) using one MDS and one DS. I have
a client that mount pNFS volume.=20

I can touch (create) files on that volume immediately:
time touch c

real    0m0.005s
user    0m0.000s
sys     0m0.000s

But creating files with a content suffers from approx. 15 secs timeout:

dd if=3D/dev/zero of=3Dtestf10 bs=3D1M count=3D1=20
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 15.1156 s, 69.4 kB/s

overwriting the same file works OK:

dd if=3D/dev/zero of=3Dtestf10 bs=3D1M count=3D1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0258294 s, 40.6 MB/s

I think this is an interesting part of the debug logs:
[69615.791232] pnfs_writeback_done: Begin (status -10008)
[69615.791238] put_lseg: lseg ffff88003b987840 ref 7 valid 1
[69615.794450] NFS:  6195 nfs_writeback_done (status -10008 count 8192)
[69615.794450] pnfs4_write_done DS write
[69615.794450] nfs41_sequence_done: Error 0 free the slot=20
[69615.794450] nfs4_free_slot: free_slotid 0 highest_used_slotid 5
[69615.794450] <-- pnfs4_write_done status=3D -11
[69615.990137] filelayout_write_call_done new off 8192 orig offset 8192

Any ideas?=20

--=20
Luk=E1=B9 Hejtm=E1nek

             reply	other threads:[~2010-06-14  8:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14  8:51 Lukas Hejtmanek [this message]
2010-06-14 14:11 ` pNFS timeouts Benny Halevy
2010-06-14 14:23   ` Lukas Hejtmanek
2010-06-14 14:46     ` Benny Halevy
2010-06-14 15:02       ` Benny Halevy
2010-06-14 15:12         ` Lukas Hejtmanek
2010-06-14 15:05       ` Lukas Hejtmanek
2010-06-14 15:10         ` Benny Halevy

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=20100614085157.GS17703@ics.muni.cz \
    --to=xhejtman@ics.muni.cz \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@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