From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Allison Subject: Re: [Lsf-pc] [LSF/MM TOPIC] async buffered diskio read for userspace apps Date: Fri, 23 Jan 2015 21:53:52 -0800 Message-ID: <20150124055352.GE6636@jeremy-HP> References: <20150116165506.GA10856@samba2> <20150119071218.GA9747@jeremy-HP> <1421652849.2080.20.camel@HansenPartnership.com> <54BD234F.3060203@kernel.dk> <54C300A1.7040202@kernel.dk> Reply-To: Jeremy Allison Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Steve French , Milosz Tanski , Volker Lendecke , James Bottomley , Jeremy Allison , Jan Kara , Christoph Hellwig , linux-mm , "linux-fsdevel@vger.kernel.org" , "lsf-pc@lists.linux-foundation.org" To: Jens Axboe Return-path: Received: from fn.samba.org ([216.83.154.106]:45184 "EHLO mail.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbbAXFxo (ORCPT ); Sat, 24 Jan 2015 00:53:44 -0500 Content-Disposition: inline In-Reply-To: <54C300A1.7040202@kernel.dk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Jan 23, 2015 at 07:17:05PM -0700, Jens Axboe wrote: > On 01/23/2015 04:15 PM, Steve French wrote: > >On Mon, Jan 19, 2015 at 10:20 AM, Milosz Tanski wrote: > >>On Mon, Jan 19, 2015 at 11:10 AM, Volker Lendecke > >> wrote: > >>>On Mon, Jan 19, 2015 at 08:31:27AM -0700, 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. > >>> > >>>The published libsmbclient API misses the async features > >>>that are needed here. Milosz needs to go lower-level. > >>> > >>>Volker > >> > >>Volker, the sync code path works; in fact I pushed some minor > >>corrections to my branch this morning. And for now using FIO I can > >>generate multiple clients (threads / processes). > >> > >>I started working on the async features (SMB2 async read/write) for > >>client library the samba repo. There's a patch there for the first > >>step of it it there; see the other email I sent to you and Jeremy. I > >>was going to make sure it licensed under whatever it needs to get into > >>the samba repo... and since this is done on my own time I personally > >>don't care what license it's under provided it's not a PITA. > > > >Why not do the async read/write via the kernel client if the license > >is an issue? It already has async SMB2/SMB3 operations > >(with a synchronous send/receive-like wrapper). > > The license issue has been solved. Fio is cross platform, so would > be preferable to have this work through libsmbclient, if at all > possible. How did the license issue get solved ? Did I miss some email on that ? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by kanga.kvack.org (Postfix) with ESMTP id 33D536B0032 for ; Sat, 24 Jan 2015 00:53:45 -0500 (EST) Received: by mail-pa0-f48.google.com with SMTP id ey11so1329129pad.7 for ; Fri, 23 Jan 2015 21:53:44 -0800 (PST) Received: from mail.samba.org (fn.samba.org. [2001:470:1f05:1a07::1]) by mx.google.com with ESMTPS id v10si4398579pdo.185.2015.01.23.21.53.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 23 Jan 2015 21:53:44 -0800 (PST) Date: Fri, 23 Jan 2015 21:53:52 -0800 From: Jeremy Allison Subject: Re: [Lsf-pc] [LSF/MM TOPIC] async buffered diskio read for userspace apps Message-ID: <20150124055352.GE6636@jeremy-HP> Reply-To: Jeremy Allison References: <20150116165506.GA10856@samba2> <20150119071218.GA9747@jeremy-HP> <1421652849.2080.20.camel@HansenPartnership.com> <54BD234F.3060203@kernel.dk> <54C300A1.7040202@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54C300A1.7040202@kernel.dk> Sender: owner-linux-mm@kvack.org List-ID: To: Jens Axboe Cc: Steve French , Milosz Tanski , Volker Lendecke , James Bottomley , Jeremy Allison , Jan Kara , Christoph Hellwig , linux-mm , "linux-fsdevel@vger.kernel.org" , "lsf-pc@lists.linux-foundation.org" On Fri, Jan 23, 2015 at 07:17:05PM -0700, Jens Axboe wrote: > On 01/23/2015 04:15 PM, Steve French wrote: > >On Mon, Jan 19, 2015 at 10:20 AM, Milosz Tanski wrote: > >>On Mon, Jan 19, 2015 at 11:10 AM, Volker Lendecke > >> wrote: > >>>On Mon, Jan 19, 2015 at 08:31:27AM -0700, 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. > >>> > >>>The published libsmbclient API misses the async features > >>>that are needed here. Milosz needs to go lower-level. > >>> > >>>Volker > >> > >>Volker, the sync code path works; in fact I pushed some minor > >>corrections to my branch this morning. And for now using FIO I can > >>generate multiple clients (threads / processes). > >> > >>I started working on the async features (SMB2 async read/write) for > >>client library the samba repo. There's a patch there for the first > >>step of it it there; see the other email I sent to you and Jeremy. I > >>was going to make sure it licensed under whatever it needs to get into > >>the samba repo... and since this is done on my own time I personally > >>don't care what license it's under provided it's not a PITA. > > > >Why not do the async read/write via the kernel client if the license > >is an issue? It already has async SMB2/SMB3 operations > >(with a synchronous send/receive-like wrapper). > > The license issue has been solved. Fio is cross platform, so would > be preferable to have this work through libsmbclient, if at all > possible. How did the license issue get solved ? Did I miss some email on that ? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org