diff options
| author | Matteo Croce <[email protected]> | 2021-07-13 01:05:27 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-08-02 13:37:28 -0600 |
| commit | 7957d93bf32bc211415827e44fdd9cdf1388df59 (patch) | |
| tree | 55e520657bdabf51a0a8428c2ab379bb640e576b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 87eb710747126ca6606f064deef93d045486ebbe (diff) | |
block: add ioctl to read the disk sequence number
Add a new BLKGETDISKSEQ ioctl which retrieves the disk sequence number
from the genhd structure.
# ./getdiskseq /dev/loop*
/dev/loop0: 13
/dev/loop0p1: 13
/dev/loop0p2: 13
/dev/loop0p3: 13
/dev/loop1: 14
/dev/loop1p1: 14
/dev/loop1p2: 14
/dev/loop2: 5
/dev/loop3: 6
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Matteo Croce <[email protected]>
Tested-by: Luca Boccassi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions