Hi,

On Wed, 19 Apr 2017 08:19:50 +0000, 许雪寒 wrote:

> I’m new to cephfs. I wonder whether cephfs guarantee client cache consistency 
> for file content. For example, if client A read some data of file X, then 
> client B modified the X’s content in the range that A read, will A be 
> notified of the modification?

Yes, clients are granted fine-grained cache "capabilities" by the MDS.
These capabilities can be revoked to trigger a flush of cached content,
prior to satisfying a request from a separate client.

Jeff Layton did a nice write up on this:
https://jtlayton.wordpress.com/2016/09/01/cephfs-and-the-nfsv4-change-attribute/

Cheers, David
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to