fscache, caps do not have share

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

 



Hi,

I could not get fscache to cache file on ceph filesystems. And I
tracked it down to the caps always being set to 0 (or unset), I'm not
sure which one it is. The section of code I'm talking about is in
inode.c in the fill_inode. I wrote debug call to print the issued caps
as result and it's always 0.


        updating_inode = 1;
        issued = __ceph_caps_issued(ci, &implemented);
        issued |= implemented | __ceph_caps_dirty(ci);

In the fscache code to figure out if we should cache the object, I'm
trying to check issued for these flags: CEPH_CAP_FILE_CACHE
CEPH_CAP_FILE_LAZYIO

Can you point me in the right direction so i can figure out what I'm
doing wrong?

Thanks,
- Milosz
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux