ceph: fscache: Update object store limit after file writing
authorYunchuan Wen <yunchuanwen@ubuntukylin.com>
Thu, 26 Dec 2013 14:29:27 +0000 (06:29 -0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:53 +0000 (10:33 +0800)
commit32d3e148ddac0087fdd8499ce4075db20518e122
treebb18db6f9ab2332e53886202760851fddc3f0d08
parent020c4bddc030815a767d86ba36ee0563e9855c23
ceph: fscache: Update object store limit after file writing

Synchronize object->store_limit[_l] with new inode->i_size after file writing.

Tested-by: Milosz Tanski <milosz@adfin.com>
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Min Chen <minchen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
fs/ceph/file.c