aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-06-16 13:19:41 -0600
committerJens Axboe <axboe@kernel.dk>2022-08-02 17:14:42 -0600
commit4ad1d9849ffa8738b5e9b3f8bda5f17d3b31dfcd (patch)
treeee5505d7e0357c6a7b540c120bd685016dba3395 /tools/perf/scripts/python/export-to-postgresql.py
parentmd/raid5: Keep a reference to last stripe_head for batch (diff)
downloadlinux-4ad1d9849ffa8738b5e9b3f8bda5f17d3b31dfcd.tar.gz
linux-4ad1d9849ffa8738b5e9b3f8bda5f17d3b31dfcd.zip
md/raid5: Refactor add_stripe_bio()
Factor out two helper functions from add_stripe_bio(): one to check for overlap (stripe_bio_overlaps()), and one to actually add the bio to the stripe (__add_stripe_bio()). The latter function will always succeed. This will be useful in the next patch so that overlap can be checked for multiple disks before adding any Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions