[lkml]   [2011]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.

-- -- Speaking for myself only.

 \ /
  Last update: 2011-06-22 22:13    [W:0.049 / U:0.712 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site