lkml.org 
[lkml]   [2011]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/6] DIO: Inline the complete submission path
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.


\
 
 \ /
  Last update: 2011-06-22 22:13    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site