diff options
author | Damien Le Moal <[email protected]> | 2018-10-12 19:08:44 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-10-25 11:17:40 -0600 |
commit | 2e85fbaff3a71e46038ec736186c42ffa721c775 (patch) | |
tree | 09f8f2e909939e916a95e92ac59a8921758cac74 /scripts/bpf_helpers_doc.py | |
parent | a91e138022bc29b5d2bbc56b41de3e0db6261e28 (diff) |
block: Limit allocation of zone descriptors for report zones
There is no point in allocating more zone descriptors than the number of
zones a block device has for doing a zone report. Avoid doing that in
blkdev_report_zones_ioctl() by limiting the number of zone decriptors
allocated internally to process the user request.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions