From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [Lsf-pc] [LSF/MM TOPIC] async buffered diskio read for userspace apps Date: Tue, 20 Jan 2015 12:33:22 -0700 Message-ID: <54BEAD82.3070501@kernel.dk> References: <20150115223157.GB25884@quack.suse.cz> <20150116165506.GA10856@samba2> <20150119071218.GA9747@jeremy-HP> <1421652849.2080.20.camel@HansenPartnership.com> <54BD234F.3060203@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Allison , Volker Lendecke , Jan Kara , Christoph Hellwig , linux-mm@kvack.org, "linux-fsdevel@vger.kernel.org" , lsf-pc@lists.linux-foundation.org To: Milosz Tanski , James Bottomley Return-path: Received: from mail-pa0-f43.google.com ([209.85.220.43]:63894 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbbATTdZ (ORCPT ); Tue, 20 Jan 2015 14:33:25 -0500 Received: by mail-pa0-f43.google.com with SMTP id eu11so10328061pac.2 for ; Tue, 20 Jan 2015 11:33:24 -0800 (PST) In-Reply-To: <54BD234F.3060203@kernel.dk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 01/19/2015 08:31 AM, Jens Axboe wrote: > I didn't look at your code yet, but I'm assuming it's a self contained > IO engine. So we should be able to make that work, by only linking the > engine itself against libsmbclient. But sheesh, what a pain in the butt, > why can't we just all be friends. I pulled it in for testing, and came up with this patch [1]. If you don't do anything, it'll build cifs into fio as before. If you add --cifs-external to the configure arguments, it'll build cifs.so as an externally loadable module. You'd then use: ioengine=/path/to/cifs.so to use that module. I did not add an install target, I'll leave that to distros... Let me know how that works for you. And let me know how far along you are with the cifs engine, I'd like to pull it in. http://git.kernel.dk/?p=fio.git;a=shortlog;h=refs/heads/cifs [1] http://git.kernel.dk/?p=fio.git;a=commit;h=c2c05e33b753ae686e24b43d1034d0c474203729 -- Jens Axboe