RE: [PATCH-RESEND 4/4] pnfsblock: do not ask for layout in pg_init

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

 



> -----Original Message-----
> From: Jim Rees [mailto:rees@xxxxxxxxx]
> Sent: Wednesday, November 30, 2011 1:49 AM
> To: Peng Tao
> Cc: Trond.Myklebust@xxxxxxxxxx; linux-nfs@xxxxxxxxxxxxxxx; bhalevy@xxxxxxxxxx; Peng, Tao
> Subject: Re: [PATCH-RESEND 4/4] pnfsblock: do not ask for layout in pg_init
> 
> Peng Tao wrote:
> 
>   Asking for layout in pg_init will always make client ask for only 4KB
>   layout in every layoutget. This way, client drops the IO size information
>   that is meaningful for MDS in handing out layout.
> 
>   In stead, if layout is not find in cache, do not send layoutget
>   at once. Wait until before issuing IO in pnfs_do_multiple_reads/writes
>   because that is where we know the real size of current IO. By telling the
>   real IO size to MDS, MDS will have a better chance to give proper layout.
> 
>   Signed-off-by: Peng Tao <peng_tao@xxxxxxx>
>   ---
>   Resend to fix patch title. Sorry for the noise...
> 
> You may want to fix the patch date too, on this series and the other series
> you sent earlier (later?).  I know China is in a later timezone but I don't
> think it's that much later.
Sorry... look like the date of the machine I used to send patches is somehow messed up. I will pay attention to it next time.

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