[Bugme-janitors] [Bug 21612] unexpected splice() behaviour

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Nov 1 00:09:07 PDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=21612





--- Comment #1 from Коренберг Марк <socketpair at gmail.com>  2010-11-01 07:09:05 ---
In spite of SPLICE_F_MOVE, kernel read pages from ioerr device. 
I saw messages in dmesg output even when read() calls was commented.
It is OK, I understand, that this flag is not implemented now.

1. But i don't understand why second splice() call does not return error in
that case.

2. If SPLICE_F_MOVE will be implemented, read from pipe sohuld return io error.
does not it ? it seems that this never happen by design :(

P.S.
without any flags (O_NONBLOCK,SPLICE_F_NONBLOCK,SPLICE_F_MOVE) bahviour is
exactly the same.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the Bugme-janitors mailing list