Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

From: Alan J. Wylie
Date: Fri Jan 13 2017 - 02:38:23 EST


at 04:00 on Fri 13-Jan-2017 Al Viro (viro@xxxxxxxxxxxxxxxxxx) wrote:

> That, and check if it is reproducible on commit 523ac9afc73a with
> commit 8e54cadab447 cherry-picked on top of that.

$ git checkout 523ac9afc73a

$ git cherry-pick 8e54cadab447
[detached HEAD 3826f27f6830] fix default_file_splice_read()
Author: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Date: Sat Nov 26 20:05:42 2016 -0500
1 file changed, 2 insertions(+), 1 deletion(-)

$ uname -a
Linux frodo 4.8.0-rc8-00011-g3826f27f6830 #1 SMP PREEMPT Fri Jan 13 07:30:06 GMT 2017 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux

# ps axfu | grep -A10 cron
root 982 0.0 0.0 18764 1948 ? Ss 07:32 0:00 /usr/sbin/cron
root 1593 0.0 0.0 27340 2164 ? S 07:35 0:00 \_ /usr/sbin/cron
root 1594 0.0 0.0 9840 2572 ? Ss 07:35 0:00 \_ /bin/bash -c date; /work/chroot-shared/test.sh; date
root 1597 0.0 0.0 9840 2668 ? S 07:35 0:00 | \_ /bin/bash /work/chroot-shared/test.sh
root 1596 0.0 0.0 76156 5496 ? S 07:35 0:00 \_ /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
root 1600 0.0 0.0 76140 5440 ? S 07:35 0:00 \_ /usr/sbin/postdrop -r

Still hangs

--
Alan J. Wylie http://www.wylie.me.uk/

Dance like no-one's watching. / Encrypt like everyone is.
Security is inversely proportional to convenience