diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-02-23 09:20:42 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-03-01 18:26:37 +0100 |
commit | 1ab36c9dfa0116a522410117eda159e6bc97c407 (patch) | |
tree | 40f8ded890636a1d99d6ca3fa84dbd22f1b7c416 /fs/omfs | |
parent | 5ed91587e201c77b35a5555c8c082655bb5834fe (diff) |
ceph: allocate capsnap memory outside of ceph_queue_cap_snap()
This will reduce very possible but unnecessary frequently memory
allocate/free in this loop.
URL: https://tracker.ceph.com/issues/44100
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 'fs/omfs')
0 files changed, 0 insertions, 0 deletions