)]}'
{
  "commit": "ef4e393c358e8c7675d8c2a260cbca1163ead2a3",
  "tree": "78ab4d7e7d1216fbf33bea18b0658073ec784f96",
  "parents": [
    "c7e836fbadeb665919787304e0a92f0246c63643"
  ],
  "author": {
    "name": "Joanne Koong",
    "email": "joannelkoong@gmail.com",
    "time": "Mon Sep 23 10:13:11 2024 -0700"
  },
  "committer": {
    "name": "Kevin Berry",
    "email": "kpberry@google.com",
    "time": "Fri Mar 27 17:06:50 2026 -0700"
  },
  "message": "fuse: enable dynamic configuration of fuse max pages limit (FUSE_MAX_MAX_PAGES)\n\nIntroduce the capability to dynamically configure the max pages limit\n(FUSE_MAX_MAX_PAGES) through a sysctl. This allows system administrators\nto dynamically set the maximum number of pages that can be used for\nservicing requests in fuse.\n\nPreviously, this is gated by FUSE_MAX_MAX_PAGES which is statically set\nto 256 pages. One result of this is that the buffer size for a write\nrequest is limited to 1 MiB on a 4k-page system.\n\nThe default value for this sysctl is the original limit (256 pages).\n\n$ sysctl -a | grep max_pages_limit\nfs.fuse.max_pages_limit \u003d 256\n\n$ sysctl -n fs.fuse.max_pages_limit\n256\n\n$ echo 1024 | sudo tee /proc/sys/fs/fuse/max_pages_limit\n1024\n\n$ sysctl -n fs.fuse.max_pages_limit\n1024\n\n$ echo 65536 | sudo tee /proc/sys/fs/fuse/max_pages_limit\ntee: /proc/sys/fs/fuse/max_pages_limit: Invalid argument\n\n$ echo 0 | sudo tee /proc/sys/fs/fuse/max_pages_limit\ntee: /proc/sys/fs/fuse/max_pages_limit: Invalid argument\n\n$ echo 65535 | sudo tee /proc/sys/fs/fuse/max_pages_limit\n65535\n\n$ sysctl -n fs.fuse.max_pages_limit\n65535\n\nBUG\u003db/496012319\nTEST\u003dpresubmit\nRELEASE_NOTE\u003dEnabled dynamic configuration of FUSE max pages limit.\n\ncos-patch: bug\nSigned-off-by: Joanne Koong \u003cjoannelkoong@gmail.com\u003e\nReviewed-by: Josef Bacik \u003cjosef@toxicpanda.com\u003e\nReviewed-by: Sweet Tea Dorminy \u003csweettea-kernel@dorminy.me\u003e\nSigned-off-by: Miklos Szeredi \u003cmszeredi@redhat.com\u003e\nChange-Id: I49200c2f1fbecd8ea4a498595381ef5cc0ab3545\nReviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/139702\nTested-by: Cusky Presubmit Bot \u003cpresubmit@cos-infra-prod.iam.gserviceaccount.com\u003e\nReviewed-by: Derek Taylor \u003cddtaylor@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "47499a1742bd49e7c84fbc5309d4d6f76f094aa3",
      "old_mode": 33188,
      "old_path": "Documentation/admin-guide/sysctl/fs.rst",
      "new_id": "fa25d7e718b37f12e6f92562a15d0ce22da27ad9",
      "new_mode": 33188,
      "new_path": "Documentation/admin-guide/sysctl/fs.rst"
    },
    {
      "type": "modify",
      "old_id": "ce0ff7a9007b94b4ab246b5271f227d126c768e8",
      "old_mode": 33188,
      "old_path": "fs/fuse/Makefile",
      "new_id": "2c372180d631eb340eca36f19ee2c2686de9714d",
      "new_mode": 33188,
      "new_path": "fs/fuse/Makefile"
    },
    {
      "type": "modify",
      "old_id": "28cf319c1c25cffd3849aaa7291b4cef25e9261f",
      "old_mode": 33188,
      "old_path": "fs/fuse/fuse_i.h",
      "new_id": "671daa4d07adba540aafe341dc85bfb00c455c99",
      "new_mode": 33188,
      "new_path": "fs/fuse/fuse_i.h"
    },
    {
      "type": "modify",
      "old_id": "153f3102f167dad5deda36c27744c345ad8a9f9f",
      "old_mode": 33188,
      "old_path": "fs/fuse/inode.c",
      "new_id": "5c4ab5a8c8f0533e9fedc01b9226f60f1f955778",
      "new_mode": 33188,
      "new_path": "fs/fuse/inode.c"
    },
    {
      "type": "modify",
      "old_id": "572ce8a82ceb9c93fa92f589ba8e9d288062f8c9",
      "old_mode": 33188,
      "old_path": "fs/fuse/ioctl.c",
      "new_id": "a6c8ee551635143bb659cd4369ec773d710a7b4d",
      "new_mode": 33188,
      "new_path": "fs/fuse/ioctl.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b272bb333005a8ca4e5f10b2e1a659f3f38b660a",
      "new_mode": 33188,
      "new_path": "fs/fuse/sysctl.c"
    }
  ]
}
