RE: [PATCH-v2 2/3] NFS41: send real write size in layoutget

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

 



> -----Original Message-----
> From: Myklebust, Trond [mailto:Trond.Myklebust@xxxxxxxxxx]
> Sent: Tuesday, August 14, 2012 8:43 AM
> To: Peng Tao
> Cc: linux-nfs@xxxxxxxxxxxxxxx; bharrosh@xxxxxxxxxxx; Peng, Tao
> Subject: Re: [PATCH-v2 2/3] NFS41: send real write size in layoutget
> 
> Please just calculate the correct value for wb_size inside
> bl_pg_init_write(), and pass it as an extra parameter to
> pnfs_generic_pg_init_write().
> 
> Then add pnfs_pg_init_object_write for objects, that calls the modified
> pnfs_generic_pg_init_write() with the PNFS_LAYOUTGET_ISIZE value.
> 
> Files don't call this function, so adding the PNFS_LAYOUTGET_ALL_FILE
> isn't needed.
It was just for consistency to add the flag for file layout. Anyway, I see your points. Will put all these in block/object LD code.

Thanks,
Tao

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