RE: [PATCH 1/3] NFS41: add pnfs_dio_begin/dio_end

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

 



On Sun, 2012-05-27 at 22:30 -0400, tao.peng@xxxxxxx wrote:
> I'm afraid there is. There is no way to pass struct blk_plug around pg_init/pg_doio, unless we put it in struct nfs_pageio_descriptor, which I think is more intrusive and less efficient as it is only useful for block layout driver in DIO case.

Then add a 'void *pg_layout_private' field to nfs_pageio_descriptor and
allocate the struct blk_plug dynamically.

-- 
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