Re: CACHEMODE_READFORWARD doesn't try proxy write?

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

 



Hi Greg,

 

I’m not using it, I am just going through the code to try and come up with some improvements to the promotion logic and thought I would just double check if this also requires a bit of work.

 

Nick

 

From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Gregory Farnum
Sent: 23 November 2015 18:20
To: Nick Fisk <nick@xxxxxxxxxx>
Cc: ceph-users <ceph-users@xxxxxxxxxxxxxx>
Subject: Re: [ceph-users] CACHEMODE_READFORWARD doesn't try proxy write?

 

Yeah, the write proxying is pretty new and the fact that it's missing from an oddball like READFORWARD isn't surprising. (Not good, exactly, but not surprising.) What are you doing with this caching mode?

 

On Thu, Nov 19, 2015 at 10:34 AM, Nick Fisk <nick@xxxxxxxxxx> wrote:

Don’t know why that URL got changed, it was meant to link to ReplicatedPG.cc - line 2192

 

From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Nick Fisk
Sent: 19 November 2015 16:29
To: 'ceph-users' <ceph-users@xxxxxxxxxxxxxx>
Subject: CACHEMODE_READFORWARD doesn't try proxy write?

 

Hi,

 

I’m just looking through

 

http://xo4t.mj.am/link/xo4t/r0j3u06/1/l037fNHxIBqowC4wXg-bvw/aHR0cDovL3hvNHQubWouYW0vbGluay94bzR0L3E5aHVodHovMS80clZ6aWlhR3YyVzNHUjJ3MUtYaEFRL2FIUjBjRG92TDNodk5IUXViV291WVcwdmJHbHVheTk0YnpSMEwzRTVhRFEwZDNFdk1TOW5kekl6WW10SVVFTlVZWHBCYjBrMmIxSk1YMjVuTDJGSVVqQmpTRTAyVEhrNWJtRllVbTlrVjBsMVdUSTVkRXd5VG14alIyZDJXVEpXZDJGRE9XbGlSemxwVERKV2JVMXRXbXhaZW1NMFRrUlJkMWxVVlhsTmFtTjVUVzFHYTAxRVFYcGFha0Y2VDFSc2FWa3lXbXhaZWtrMFRVUm5NRTFVV1haak0wcHFUREk1ZWxwRE9WTmFXRUp6WVZkT2FHUkhWbXRWUldOMVdUSk4#L2192

 

And from what I can see if you set the cachemode to CACHEMODE_READFORWARD, proxy writes will not be used. Am I reading the code correct and is that the desired behaviour? I would have thought you would still expect proxy writes to occur but just disable the promotion of reads? I believe this is also the case for CACHEMODE_READPROXY.

 

Thanks,

Nick

 




_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://xo4t.mj.am/link/xo4t/r0j3u06/2/o5nPhD7lo4qteEOcyoAOLQ/aHR0cDovL2xpc3RzLmNlcGguY29tL2xpc3RpbmZvLmNnaS9jZXBoLXVzZXJzLWNlcGguY29t

 


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux