>On Thu, Jul 11, 2013 at 9:17 AM, majianpeng <majianpeng@xxxxxxxxx> wrote: >> Although, mmap-write of ceph update the time of file using >> file_update_time.Because it don't mark the relative cap so the time >> can't save. > >I think cephfs' mmap IO support is still broken. mmap IO does not respect >ceph capabilities at all. It's possible that the kclient has no Fw cap when >ceph_page_mkwrite is called. > >Yan, Zheng > > Hi Yan, For the read of mmap, i think we also add cap-check. And i think we can rewrite the filemap_fault ect ceph_filemap_fault. In ceph_filemap_fault, most code from filemap_fault, we only add cap-check for read-operation. How about this or can you suggest anthor method? Thanks! Jianpeng Ma?韬{.n?????%??檩??w?{.n????u朕?Ф?塄}?财??j:+v??????2??璀??摺?囤??z夸z罐?+?????w棹f