mbox series

[0/2] ceph: ceph_direct_read_write() fixes

Message ID 20241207182622.97113-1-idryomov@gmail.com (mailing list archive)
Headers show
Series ceph: ceph_direct_read_write() fixes | expand

Message

Ilya Dryomov Dec. 7, 2024, 6:26 p.m. UTC
Hello,

I noticed these while reviewing Max's fix for memory leaks in
__ceph_sync_read().

Thanks,

                Ilya


Ilya Dryomov (2):
  ceph: fix memory leak in ceph_direct_read_write()
  ceph: allocate sparse_ext map only for sparse reads

 fs/ceph/file.c        | 43 ++++++++++++++++++++++---------------------
 net/ceph/osd_client.c |  2 ++
 2 files changed, 24 insertions(+), 21 deletions(-)