aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2023-06-08 12:30:16 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-05 15:58:18 +0200
commit06aa6fd31a5f402b055e12ea53bb7b086359d3c8 (patch)
treef1ce148e26fac7f09582b08c30a678bde73847dd /scripts/rustdoc_test_builder.rs
parent36a740916a94ea0efa0c5c2ddcd9dcdce56c9a40 (diff)
gfs2: check for no eligible quota changes
Before this patch, function gfs2_quota_sync would always allocate a page full of memory and increment its quota sync generation number. This happened even when the system was completely idle or if no blocks were allocated or quota changes made. This patch adds function qd_changed to determine if any changes have been made that qualify for a quota sync. If not, it avoids the memory allocation and bumping the generation number, along with all the additional work it would do. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions