RE: [PATCH 1/5] pNFS: recoalesce when ld write pagelist fails

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

 



Hi, Boaz,

> -----Original Message-----
> From: Boaz Harrosh [mailto:bharrosh@xxxxxxxxxxx]
> Sent: Friday, August 12, 2011 8:10 AM
> To: Peng Tao
> Cc: Trond Myklebust; Benny Halevy; linux-nfs@xxxxxxxxxxxxxxx; Peng, Tao
> Subject: Re: [PATCH 1/5] pNFS: recoalesce when ld write pagelist fails
> 
> On 08/11/2011 04:53 PM, Peng Tao wrote:
> >>
> >> You should see if what I say is possible for write. And then maybe some
> >> thing will come up also for read. They do not necessarily need to be the
> >> same. (I think)
> > I agree that it is possible for write. We can re-dirty the pages and
> > rely on next flush to write it out to MDS. This is mentioned by Trond
> > before. However, the method won't work for read failures. I don't see
> > how we can queue failed read pages and let someone else re-send it
> > later.
> >
> 
> Lets leave the read patch as is for now. Lets try to do it only for
> writes.
> 
> It is OK to have write do one way and read do another way, I think.
> 
> Maybe later we can find a better solution for reads as well.

I tried to rewrite the write patch to handle failures inside mds_ops->rpc_release. However, I get a problem w.r.t. "redirty and rely on next flush". If the failed write is the *last flush*, we end up with relying no one and the dirty pages are simply dropped. Do you have any suggestions how to handle it?

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