OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-411-gff4d8e2

Gerrit Code Review gerrit@openafs.org
Fri, 28 Jun 2024 16:54:27 -0400


The following commit has been merged in the master branch:
commit ff4d8e21ad387603c9ca7209bc4e978efd5015ce
Author: Mark Vitale <mvitale@sinenomine.net>
Date:   Mon Sep 11 16:51:06 2023 -0400

    volinfo: Consistently report volinfo -sizeonly totals in KiBi units
    
    The volinfo utility reports Size totals for volumes in units of KiBi
    (1024), but the partition and server totals for 'Auxsize' and
    'Inodesize' are reported in bytes:
    
      # usr/afs/bin/volinfo -sizeonly
      Processing Partition /vicepa:
      Volume-Id         Volsize  Auxsize Inodesize  AVolsize SizeDiff (VolName)
      536870915               5       17         2        19       14 root.cell
      536870912               4       17         4        21       17 root.afs
      536870913               2        1         6         7        5 root.afs.readonly
      536870919               2        1         8         9        7 test.readonly
      536870916               5       17        10        27       22 root.cell.readonly
      536870918               8       17        12        29       21 test
    
      Part Totals            26    72340     43533       112       86 (6 volumes)
    
      Server Totals          26    72340     43533       112       86
    
    This is confusing because the sums of the volume 'Auxsize' and
    'Inodesize' columns do not result in the expected summary totals.
    
    Modify the partition and server routines to consistently report
    'Auxsize' and 'Inodesize' in units of KiBi:
    
      #usr/afs/bin/volinfo -sizeonly
      Processing Partition /vicepa:
      Volume-Id         Volsize  Auxsize Inodesize  AVolsize SizeDiff (VolName)
      536870915               5       17         2        19       14 root.cell
      536870912               4       17         4        21       17 root.afs
      536870913               2        1         6         7        5 root.afs.readonly
      536870919               2        1         8         9        7 test.readonly
      536870916               5       17        10        27       22 root.cell.readonly
      536870918               8       17        12        29       21 test
    
      Part Totals            26       70        42       112       86 (6 volumes)
    
      Server Totals          26       70        42       112       86
    
    Change-Id: Ib7e9314ac029a82fcd669407ef4bb81d52b5a78a
    Reviewed-on: https://gerrit.openafs.org/15565
    Reviewed-by: gsvolt <gsvolt7@gmail.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>

 src/vol/vol-info.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository