aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2024-05-02 23:11:33 +0200
committerDavid Sterba <[email protected]>2024-07-11 15:33:16 +0200
commit34064fc3c9b557789a33214de0af6d6e09e4a0c8 (patch)
tree1db12920f5c3a5f5aa3d6f62d386e739e75a96e6 /tools/perf/scripts/python/intel-pt-events.py
parent256abd8e550ce977b728be79a74e1729438b4948 (diff)
btrfs: qgroup: do quick checks if quotas are enabled before starting ioctls
The ioctls that add relations, create qgroups or set limits start/join transaction. When quotas are not enabled this is not necessary, there will be errors reported back anyway but this could be also misleading and we should really report that quotas are not enabled. For that use -ENOTCONN. The helper is meant to do a quick check before any other standard ioctl checks are done. If quota is disabled meanwhile we still rely on proper locking inside any active operation changing the qgroup structures. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions