Akihiro Suda:
> However, the bug is a regression caused by commit 296291cd ("mm: make
> sendfile(2) killable") to the upstream of Linux kernel.
> https://github.com/torvalds/linux/commit/296291cd
> This produces infinite -EINTR loop in mm/filemap.c:generic_perform_write().
> Perhaps it can also affect filesystems other than AUFS.

It is doubtful.
Only one possibility which something bad can happen is the process
accounting. As you might know, the process accounting writes a file some
info when a process exits. And if the filesystem where the accouting
file exists uses generic_file_write_iter() as aufs, then the info may
not be written. But the process won't hung at all.
I am afraid this issue is aufs specific.


> So I think it's possible to keep current AUFS, and put a patch to Linux
> kernel.

I believe aufs should follow linux-4.3 and 4.1.13. This will be my first
(or second) work next year.


J. R. Okajima

------------------------------------------------------------------------------

Reply via email to