From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755463Ab0KHVsd (ORCPT ); Mon, 8 Nov 2010 16:48:33 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:39519 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754805Ab0KHVsc (ORCPT ); Mon, 8 Nov 2010 16:48:32 -0500 Date: Mon, 8 Nov 2010 16:48:25 -0500 From: Christoph Hellwig To: "Nicholas A. Bellinger" Cc: Christoph Hellwig , linux-scsi , linux-kernel , FUJITA Tomonori , Mike Christie , Christoph Hellwig , Hannes Reinecke , James Bottomley , Jens Axboe , Boaz Harrosh , Joel Becker Subject: Re: [RFCv3 00/21] TCM Core and TCM_Loop patches for v2.6.37 Message-ID: <20101108214825.GA26609@infradead.org> References: <1287441313-19703-1-git-send-email-nab@linux-iscsi.org> <20101108143952.GB22121@infradead.org> <1289251207.27226.59.camel@haakon2.linux-iscsi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1289251207.27226.59.camel@haakon2.linux-iscsi.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Mon, Nov 08, 2010 at 01:20:07PM -0800, Nicholas A. Bellinger wrote: > Hmmm, it is my understanding that seq_file is currently not available > for configfs. Also, we never going to expect these particular calls to > return anything close to PAGE_SIZE, so I am not sure how much of an > issue this really is. Seq_file is avaible for anything where you can plug in file_operations. If configfs doesn't allow plugging in file_operations that's a serious deficit. If you need less than a page of data single_open provides a simplified version of seq_file with a similar but much simpler API. > > - the set_configfs_dev_params method implementation contains some > > rather nast parsing code. They look like they really should use > > the parser.h helpers we use for mount option parsing. > > This code current expects the the incoming buffer to be in the > form of 'key0=value0,key1=value1,key2=value2' etc. Assuming that > parser.h code can handle the comma seperated values, I will look at > getting these converted as well. That's exactly how mount options work.