From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: fio rbd completions (Was: fio rbd hang for block sizes > 1M) Date: Mon, 27 Oct 2014 09:36:49 -0600 Message-ID: <544E6691.106@kernel.dk> References: <5449BBB3.7090109@catalyst.net.nz> <5449E50E.7000808@kernel.dk> <5449EEF1.1060407@catalyst.net.nz> <544A51C7.40803@gmail.com> <544A5DA6.2010709@gmail.com> <544AD67D.4030603@catalyst.net.nz> <544AEAE7.6080603@redhat.com> <544AF0D2.1050405@catalyst.net.nz> <544B0C7F.4080109@catalyst.net.nz> <544B1D50.4010101@kernel.dk> <544B2C19.7070009@catalyst.net.nz> <544BF808.2090800@kernel.dk> <544C2371.1020403@catalyst.net.nz> <544E547C.30009@kernel.dk> <544E6330.1000202@kernel.dk> <544E63EA.1010204@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: fio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ketor D Cc: Mark Kirkwood , Mark Nelson , Mark Nelson , fio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "xan.peng" , "ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: ceph-devel.vger.kernel.org On 10/27/2014 09:29 AM, Ketor D wrote: > I just found the aio_get_return and aio_release bug, then you fix it. So fast! > > But the test looks bad. > > The write bytes is always zero.......... Looks like I need to setup a local test here, haven't run ceph/rbd before... Can you put a debug printf() in _fio_rbd_finish_aiocb() and dump what rbd_aio_get_return_value() returns? -- Jens Axboe From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <544E6691.106@kernel.dk> Date: Mon, 27 Oct 2014 09:36:49 -0600 From: Jens Axboe MIME-Version: 1.0 Subject: Re: fio rbd completions (Was: fio rbd hang for block sizes > 1M) References: <5449BBB3.7090109@catalyst.net.nz> <5449E50E.7000808@kernel.dk> <5449EEF1.1060407@catalyst.net.nz> <544A51C7.40803@gmail.com> <544A5DA6.2010709@gmail.com> <544AD67D.4030603@catalyst.net.nz> <544AEAE7.6080603@redhat.com> <544AF0D2.1050405@catalyst.net.nz> <544B0C7F.4080109@catalyst.net.nz> <544B1D50.4010101@kernel.dk> <544B2C19.7070009@catalyst.net.nz> <544BF808.2090800@kernel.dk> <544C2371.1020403@catalyst.net.nz> <544E547C.30009@kernel.dk> <544E6330.1000202@kernel.dk> <544E63EA.1010204@kernel.dk> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Ketor D Cc: Mark Kirkwood , Mark Nelson , Mark Nelson , fio@vger.kernel.org, "xan.peng" , "ceph-devel@vger.kernel.org" List-ID: On 10/27/2014 09:29 AM, Ketor D wrote: > I just found the aio_get_return and aio_release bug, then you fix it. So fast! > > But the test looks bad. > > The write bytes is always zero.......... Looks like I need to setup a local test here, haven't run ceph/rbd before... Can you put a debug printf() in _fio_rbd_finish_aiocb() and dump what rbd_aio_get_return_value() returns? -- Jens Axboe