[PATCH RFC 0/3] Fix splice for packetized pipes

2015-12-15 Thread Stanislav Kinsburskiy
With introduction of packetized pipes, splice wasn't updated to respect this new behaviour. In terms of splice it means, that it never set PIPE_BUF_FLAG_PACKET on created pipe buffer regarless pipe operating mode, thus breaking the whole logic. To fix this, new SPLICE_F_PACKET flag was introduced.

[PATCH RFC 0/3] Fix splice for packetized pipes

2015-12-15 Thread Stanislav Kinsburskiy
With introduction of packetized pipes, splice wasn't updated to respect this new behaviour. In terms of splice it means, that it never set PIPE_BUF_FLAG_PACKET on created pipe buffer regarless pipe operating mode, thus breaking the whole logic. To fix this, new SPLICE_F_PACKET flag was introduced.