summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorXiubo Li <xiubo.li@clyso.com>2026-08-12 00:36:26 -0700
committerIlya Dryomov <idryomov@gmail.com>2026-08-26 19:57:26 +0200
commit699411a3534139e0edde1e7fc190c3eea0786ffc (patch)
tree8d39b0d0af804375391863bfe472a7c59500c27f /scripts
parent9be23efacbac35ebd6ff1512cb22e69c25e4861d (diff)
downloadlinux-699411a3534139e0edde1e7fc190c3eea0786ffc.tar.gz
linux-699411a3534139e0edde1e7fc190c3eea0786ffc.zip
ceph: use GFP_KERNEL consistently in __ceph_pool_perm_get()
__ceph_pool_perm_get() has six allocations for building OSD STAT requests, five of which used GFP_NOFS and one (the page vector allocation) used GFP_KERNEL, making them inconsistent. The function is only called from ceph_try_get_caps() and __ceph_get_caps(), both of which are in the user I/O path (read, write, fallocate, mmap fault), not in the writeback path. There is no risk of recursive writeback, so GFP_NOFS is unnecessarily restrictive. Use GFP_KERNEL consistently for all six allocations. Signed-off-by: Xiubo Li <xiubo.li@clyso.com> Reviewed-by: Alex Markuze <amarkuze@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions