Re: [PATCH RFC 3/3] NFS41: send real read size in layoutget for DIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2012-08-08 at 10:03 +0800, Peng Tao wrote:
> From: Peng Tao <tao.peng@xxxxxxx>
> 
> We don't have the real IO size information in buffer read, but for direct
> read, we can get it from dreq->bytes_left. Let's make use of it.

What's wrong with using the nfs_readpages arguments? The readahead code
will tell you exactly how many pages it is trying to read.

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux