Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753312AbcDJOml (ORCPT ); Sun, 10 Apr 2016 10:42:41 -0400 Received: from [198.137.202.9] ([198.137.202.9]:53355 "EHLO bombadil.infradead.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751991AbcDJOmk (ORCPT ); Sun, 10 Apr 2016 10:42:40 -0400 Date: Sun, 10 Apr 2016 07:41:45 -0700 From: Christoph Hellwig To: James Simmons Cc: Christoph Hellwig , Ming Lei , Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Boaz Harrosh , Oleg Drokin , Andreas Dilger , Greg Kroah-Hartman , "John L. Hammond" , Frank Zago , Mike Rapoport , Kent Overstreet , Julia Lawall , Al Viro , "moderated list:STAGING - LUSTRE PARALLEL FILESYSTEM" , "open list:STAGING SUBSYSTEM" Subject: Re: [PATCH 08/27] staging: lustre: avoid to use bio->bi_vcnt directly Message-ID: <20160410144145.GA24062@infradead.org> References: <1459857443-20611-1-git-send-email-tom.leiming@gmail.com> <1459857443-20611-9-git-send-email-tom.leiming@gmail.com> <20160405130109.GB32576@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1054 Lines: 21 On Sun, Apr 10, 2016 at 03:37:42PM +0100, James Simmons wrote: > > > The lloop driver should be removed entirely - use the loop driver > > instead. > > I talked with Andreas last week at our annual Lustre users group meeting > about this. The reason I was told for existance is that some users were > using files on a Lustre file system with the loop back device. The > performance was really bad at the time so a lloop was developed to > overcome those limitations. Its been a long time so perhaps its time > to look at the default loop driver again to see if can perform now. If > it doesn't we will go the route of reworking the lloop driver in the > spirit of the cryptoloop device. The loop driver now supports using AIO/DIO on any file systems that implements ->read_iter and ->write_iter. If lustre doesn't support those or doesn't have proper performance using them it should be addressed in the file system. Note that the dio mode in the loop device is not the default and you need to manually enabled it, keep that in mind when testing.