Re: [PATCH 1/3] fs: allow short direct-io reads to be completed via buffered IO

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Josef Bacik
Date: Tuesday, May 4, 2010 - 8:27 am

On Tue, May 04, 2010 at 10:14:18AM +1000, Dave Chinner wrote:

Hmm yeah you are right.  What would be an acceptable way to avoid this, do a

if (retval || !count || ppos >= i_size_read(inode))
	goto out;

type thing?  Thanks,

Josef
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] fs: allow short direct-io reads to be comp ..., Josef Bacik, (Tue May 4, 8:27 am)