Re: Uninterruptable hang in sendfile

2015-10-12 Thread Jan Kara
Hello, On Mon 12-10-15 11:18:48, Dmitry Vyukov wrote: > Hello, > > The following program leads to hang in D state in: This is the minimal reproducer: int fd; off_t off = 0; fd = open("file", O_RDWR | O_TRUNC | O_SYNC | O_CREAT, 0644); ftruncate(fd, 2);

Re: Uninterruptable hang in sendfile

2015-10-12 Thread Jan Kara
Hello, On Mon 12-10-15 11:18:48, Dmitry Vyukov wrote: > Hello, > > The following program leads to hang in D state in: This is the minimal reproducer: int fd; off_t off = 0; fd = open("file", O_RDWR | O_TRUNC | O_SYNC | O_CREAT, 0644); ftruncate(fd, 2);