]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: just use ci->i_version for fscache aux info
authorJeff Layton <jlayton@kernel.org>
Wed, 5 May 2021 19:21:12 +0000 (15:21 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Nov 2021 02:29:51 +0000 (03:29 +0100)
commitcace36685a730c4413a1d723ad0ee4504f4de1d4
tree2bd43584c298548510ac1e24014e028b7db03f11
parentb030a7e05590971fbd85c3e1325eb358242d5937
ceph: just use ci->i_version for fscache aux info

If the i_version regresses, then it's likely that the mtime will do the
same in lockstep with it. There's no need to track both here, just use
the i_version counter since it's just as good and gets the aux size down
to 64 bits.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/cache.c