linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 4.8-rcN nfs O_DYSNC, write(2) doesn't return ENOSPC
@ 2016-09-03  4:31 J. R. Okajima
  2016-09-03 16:13 ` Trond Myklebust
  2016-09-05 17:19 ` 4.8-rcN nfs, access(W_OK) on an immutable inode J. R. Okajima
  0 siblings, 2 replies; 6+ messages in thread
From: J. R. Okajima @ 2016-09-03  4:31 UTC (permalink / raw)
  To: trond.myklebust, anna.schumaker; +Cc: linux-nfs


Hello NFS folks,

I am not subscribing this ML. Please CC to me explicitly when you reply.

I found a problem of NFS in linux-v4.8-rc[123]. Here is a reproducible
sequence.

- mount a rather small tmpfs, for example /tmp/srvr
- export it to localhost
- mount localhost:/tmp/srvr /tmp/clnt
- dd if=/dev/zero of=/tmp/clnt/full

After a while, dd ends with ENOSPC expectedly. But if I add "oflag=dsync"
to dd(1), it never ends. strace(1) shows dd repeats write(512bytes) and
gets the value 512.

If this is a known issue, please tell me the commit id of the fix.


J. R. Okajima

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-05 18:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-03  4:31 4.8-rcN nfs O_DYSNC, write(2) doesn't return ENOSPC J. R. Okajima
2016-09-03 16:13 ` Trond Myklebust
2016-09-04 18:58   ` J. R. Okajima
2016-09-05 17:19 ` 4.8-rcN nfs, access(W_OK) on an immutable inode J. R. Okajima
2016-09-05 17:59   ` Trond Myklebust
2016-09-05 18:55     ` J. R. Okajima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).