From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH 6/6] DIO: Inline the complete submission path Date: Wed, 22 Jun 2011 22:10:26 +0200 Message-ID: <20110622201026.GJ3263@one.firstfloor.org> References: <1308770322-22565-1-git-send-email-andi@firstfloor.org> <1308770322-22565-7-git-send-email-andi@firstfloor.org> <20110622195955.GB24311@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andi Kleen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, dehrenberg@google.com, Andi Kleen To: Christoph Hellwig Return-path: Content-Disposition: inline In-Reply-To: <20110622195955.GB24311@infradead.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Jun 22, 2011 at 03:59:56PM -0400, Christoph Hellwig wrote: > > -static ssize_t > > +static inline ssize_t > > direct_io_worker(int rw, struct kiocb *iocb, struct inode *inode, > > const struct iovec *iov, loff_t offset, unsigned long nr_segs, > > unsigned blkbits, get_block_t get_block, dio_iodone_t end_io, > > For this one please just merge it into the caller. There's no logical > separation between the two anyway. The compiler does that anyways. Or did you mean in source? That would conflict with the coding standard. -Andi -- ak@linux.intel.com -- Speaking for myself only.