linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] NFSv4: open(O_TRUNC) hangs
@ 2012-04-03 16:26 Miklos Szeredi
       [not found] ` <87d37osrx2.fsf-d8RdFUjzFsbxNFs70CDYszOMxtEWgIxa@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Miklos Szeredi @ 2012-04-03 16:26 UTC (permalink / raw)
  To: Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA
  Cc: bfields-uC3wQj2KruNg9hUCZPvPmw, linux-nfs-u79uwXL29TY76Z2rM5mHXA,
	linux-fsdevel-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ 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
     [not found] ` <87d37osrx2.fsf-d8RdFUjzFsbxNFs70CDYszOMxtEWgIxa@public.gmane.org>
2012-04-05 17:31   ` Myklebust, Trond
     [not found]     ` <1333647115.4573.3.camel-SyLVLa/KEI9HwK5hSS5vWB2eb7JE58TQ@public.gmane.org>
2012-04-06  9:43       ` Miklos Szeredi
     [not found]         ` <8762ddb3ge.fsf-d8RdFUjzFsbxNFs70CDYszOMxtEWgIxa@public.gmane.org>
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;
as well as URLs for NNTP newsgroup(s).