summaryrefslogtreecommitdiffstats
path: root/fs/Makefile
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2019-09-12 14:28:13 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2019-09-12 14:59:40 +0200
commitf22f812d5ce75a18b56073a7a63862e6ea764070 (patch)
tree9eac6d76cff5c4b9dea8f19c95ecbda652b361ed /fs/Makefile
parent05ea48cc2b098c533193bb058b82aa016a8361bc (diff)
downloadlinux-f22f812d5ce75a18b56073a7a63862e6ea764070.tar.bz2
fuse: fix request limit
The size of struct fuse_req was reduced from 392B to 144B on a non-debug config, thus the sanitize_global_limit() helper was setting a larger default limit. This doesn't really reflect reduction in the memory used by requests, since the fields removed from fuse_req were added to fuse_args derived structs; e.g. sizeof(struct fuse_writepages_args) is 248B, thus resulting in slightly more memory being used for writepage requests overalll (due to using 256B slabs). Make the calculatation ignore the size of fuse_req and use the old 392B value. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions