ceph: introduce ceph_fill_fragtree()
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 18 Apr 2014 08:00:30 +0000 (16:00 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:54 +0000 (09:29 +0800)
commit3e7fbe9cebfdaac380419507908e10c499ddd25b
tree6352978e76ad863fb1c33a539f589ac83c0723e3
parent2cd698be9a3d3a0f8f3c66814eac34144c31954c
ceph: introduce ceph_fill_fragtree()

Move the code that update the i_fragtree into a separate function.
Also add simple probabilistic test to decide whether the i_fragtree
should be updated

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/inode.c