Re: [PATCH 1/2] splice: export do_tee()

2020-05-04 Thread Jens Axboe
On 5/4/20 10:36 AM, Pavel Begunkov wrote: > On 04/05/2020 17:03, Pavel Begunkov wrote: >> On 04/05/2020 16:43, Jens Axboe wrote: >>> On 5/4/20 6:31 AM, Pavel Begunkov wrote: On 04/05/2020 14:09, Jann Horn wrote: > On Sat, May 2, 2020 at 2:10 PM Pavel Begunkov > wrote: >> export d

Re: [PATCH 1/2] splice: export do_tee()

2020-05-04 Thread Pavel Begunkov
On 04/05/2020 17:03, Pavel Begunkov wrote: > On 04/05/2020 16:43, Jens Axboe wrote: >> On 5/4/20 6:31 AM, Pavel Begunkov wrote: >>> On 04/05/2020 14:09, Jann Horn wrote: On Sat, May 2, 2020 at 2:10 PM Pavel Begunkov wrote: > export do_tee() for use in io_uring [...] > diff

Re: [PATCH 1/2] splice: export do_tee()

2020-05-04 Thread Pavel Begunkov
On 04/05/2020 16:43, Jens Axboe wrote: > On 5/4/20 6:31 AM, Pavel Begunkov wrote: >> On 04/05/2020 14:09, Jann Horn wrote: >>> On Sat, May 2, 2020 at 2:10 PM Pavel Begunkov >>> wrote: export do_tee() for use in io_uring >>> [...] diff --git a/fs/splice.c b/fs/splice.c >>> [...] *

Re: [PATCH 1/2] splice: export do_tee()

2020-05-04 Thread Jens Axboe
On 5/4/20 6:31 AM, Pavel Begunkov wrote: > On 04/05/2020 14:09, Jann Horn wrote: >> On Sat, May 2, 2020 at 2:10 PM Pavel Begunkov wrote: >>> export do_tee() for use in io_uring >> [...] >>> diff --git a/fs/splice.c b/fs/splice.c >> [...] >>> * The 'flags' used are the SPLICE_F_* variants, curren

Re: [PATCH 1/2] splice: export do_tee()

2020-05-04 Thread Pavel Begunkov
On 04/05/2020 14:09, Jann Horn wrote: > On Sat, May 2, 2020 at 2:10 PM Pavel Begunkov wrote: >> export do_tee() for use in io_uring > [...] >> diff --git a/fs/splice.c b/fs/splice.c > [...] >> * The 'flags' used are the SPLICE_F_* variants, currently the only >> * applicable one is SPLICE_F_NO

Re: [PATCH 1/2] splice: export do_tee()

2020-05-04 Thread Jann Horn
On Sat, May 2, 2020 at 2:10 PM Pavel Begunkov wrote: > export do_tee() for use in io_uring [...] > diff --git a/fs/splice.c b/fs/splice.c [...] > * The 'flags' used are the SPLICE_F_* variants, currently the only > * applicable one is SPLICE_F_NONBLOCK. > */ > -static long do_tee(struct file

[PATCH 1/2] splice: export do_tee()

2020-05-02 Thread Pavel Begunkov
export do_tee() for use in io_uring Signed-off-by: Pavel Begunkov --- fs/splice.c| 3 +-- include/linux/splice.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/splice.c b/fs/splice.c index 4735defc46ee..000be62c5146 100644 --- a/fs/splice.c +++ b/fs/splice