diff options
author | Xiubo Li <xiubli@redhat.com> | 2021-10-08 16:23:58 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-11-08 03:29:52 +0100 |
commit | e90334e89b0c3caa64213ba80fbbc053c7975c66 (patch) | |
tree | 013e69cfb2fa4ece069ba0bcc5243cd251085ca1 /lib/mpi/mpiutil.c | |
parent | e1c9788cb39777e81ebfbf31ae80b4ec14eb6f6d (diff) |
ceph: ignore the truncate when size won't change with Fx caps issued
If the new size is the same as the current size, the MDS will do nothing
but change the mtime/atime. POSIX doesn't mandate that the filesystems
must update them in this case, so just ignore it instead.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions