mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [REGRESSION] NFSv4: open(O_TRUNC) hangs
@ 2012-04-03 16:26 Miklos Szeredi
  2012-04-05 17:31 ` Myklebust, Trond
  0 siblings, 1 reply; 5+ messages in thread
From: Miklos Szeredi @ 2012-04-03 16:26 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: bfields, linux-nfs, linux-fsdevel, linux-kernel

Now this test program hangs on latest git.

Thanks,
Miklos
---

#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

int main(int argc, char *argv[])
{
	int res;
	char *name = argv[1];
	int fd;

	unlink(name);
	fd = creat(name, 0644);
	write(fd, "123", 3);
	close(fd);
	close(open(name, O_RDONLY | O_TRUNC));

	return 0;
}

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

end of thread, other threads:[~2012-04-19 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 16:26 [REGRESSION] NFSv4: open(O_TRUNC) hangs Miklos Szeredi
2012-04-05 17:31 ` Myklebust, Trond
2012-04-06  9:43   ` Miklos Szeredi
2012-04-18 22:03     ` Myklebust, Trond
2012-04-19 11:27       ` Miklos Szeredi

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®