Searched hist:"2 f276c511137d97e56b19e29865e1e6569315ccb" (Results 1 – 5 of 5) sorted by relevance
/linux/fs/ceph/ |
H A D | dir.c | diff 2f276c511137d97e56b19e29865e1e6569315ccb Wed Mar 13 12:44:32 CET 2013 Yan, Zheng <zheng.z.yan@intel.com> ceph: use i_release_count to indicate dir's completeness
Current ceph code tracks directory's completeness in two places. ceph_readdir() checks i_release_count to decide if it can set the I_COMPLETE flag in i_ceph_flags. All other places check the I_COMPLETE flag. This indirection introduces locking complexity.
This patch adds a new variable i_complete_count to ceph_inode_info. Set i_release_count's value to it when marking a directory complete. By comparing the two variables, we know if a directory is complete
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
|
H A D | super.h | diff 2f276c511137d97e56b19e29865e1e6569315ccb Wed Mar 13 12:44:32 CET 2013 Yan, Zheng <zheng.z.yan@intel.com> ceph: use i_release_count to indicate dir's completeness
Current ceph code tracks directory's completeness in two places. ceph_readdir() checks i_release_count to decide if it can set the I_COMPLETE flag in i_ceph_flags. All other places check the I_COMPLETE flag. This indirection introduces locking complexity.
This patch adds a new variable i_complete_count to ceph_inode_info. Set i_release_count's value to it when marking a directory complete. By comparing the two variables, we know if a directory is complete
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
|
H A D | caps.c | diff 2f276c511137d97e56b19e29865e1e6569315ccb Wed Mar 13 12:44:32 CET 2013 Yan, Zheng <zheng.z.yan@intel.com> ceph: use i_release_count to indicate dir's completeness
Current ceph code tracks directory's completeness in two places. ceph_readdir() checks i_release_count to decide if it can set the I_COMPLETE flag in i_ceph_flags. All other places check the I_COMPLETE flag. This indirection introduces locking complexity.
This patch adds a new variable i_complete_count to ceph_inode_info. Set i_release_count's value to it when marking a directory complete. By comparing the two variables, we know if a directory is complete
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
|
H A D | mds_client.c | diff 2f276c511137d97e56b19e29865e1e6569315ccb Wed Mar 13 12:44:32 CET 2013 Yan, Zheng <zheng.z.yan@intel.com> ceph: use i_release_count to indicate dir's completeness
Current ceph code tracks directory's completeness in two places. ceph_readdir() checks i_release_count to decide if it can set the I_COMPLETE flag in i_ceph_flags. All other places check the I_COMPLETE flag. This indirection introduces locking complexity.
This patch adds a new variable i_complete_count to ceph_inode_info. Set i_release_count's value to it when marking a directory complete. By comparing the two variables, we know if a directory is complete
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
|
H A D | inode.c | diff 2f276c511137d97e56b19e29865e1e6569315ccb Wed Mar 13 12:44:32 CET 2013 Yan, Zheng <zheng.z.yan@intel.com> ceph: use i_release_count to indicate dir's completeness
Current ceph code tracks directory's completeness in two places. ceph_readdir() checks i_release_count to decide if it can set the I_COMPLETE flag in i_ceph_flags. All other places check the I_COMPLETE flag. This indirection introduces locking complexity.
This patch adds a new variable i_complete_count to ceph_inode_info. Set i_release_count's value to it when marking a directory complete. By comparing the two variables, we know if a directory is complete
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
|