From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 17 Apr 2019 11:47:07 +0300 From: Vladimir Davydov Subject: Re: [PATCH v2] core/coio_file: Use eio_sendfile_sync instead of a chunk mode Message-ID: <20190417084707.b22of3mlezndusod@esperanza> References: <20190415211410.20562-1-gorcunov@gmail.com> <20190416173510.4nxxdsqg7drrlnhe@esperanza> <20190416175133.GK13702@uranus.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416175133.GK13702@uranus.lan> To: Cyrill Gorcunov Cc: tml List-ID: On Tue, Apr 16, 2019 at 08:51:33PM +0300, Cyrill Gorcunov wrote: > On Tue, Apr 16, 2019 at 08:35:10PM +0300, Vladimir Davydov wrote: > > > - Proper testing of large files remains opened: current CI engine > > > is hardly capable of managing it. I tested 200M files with manual > > > splitting (to make sure the offsets do really work) but for longterm > > > we still might need to invent something > > > > We could use an error injection to reduce the size of data fed to > > sendfile in one go. > > I don't remember if I already asked -- mind to point me where our > error injection examples are? Try grepping ERRINJ in tests and code, but I see you've already figured out how to use them.