summaryrefslogtreecommitdiffstats
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorDamien Le Moal2019-07-01 07:09:16 +0200
committerJens Axboe2019-07-12 04:04:37 +0200
commitbd976e52725965ddcceb9abecbcc7ca46863665c (patch)
tree920d0b976f212f1a4af42c67f271ff8c18406589 /block/blk-flush.c
parentblock: Allow mapping of vmalloc-ed buffers (diff)
downloadkernel-qcow2-linux-bd976e52725965ddcceb9abecbcc7ca46863665c.tar.gz
kernel-qcow2-linux-bd976e52725965ddcceb9abecbcc7ca46863665c.tar.xz
kernel-qcow2-linux-bd976e52725965ddcceb9abecbcc7ca46863665c.zip
block: Kill gfp_t argument of blkdev_report_zones()
Only GFP_KERNEL and GFP_NOIO are used with blkdev_report_zones(). In preparation of using vmalloc() for large report buffer and zone array allocations used by this function, remove its "gfp_t gfp_mask" argument and rely on the caller context to use memalloc_noio_save/restore() where necessary (block layer zone revalidation and dm-zoned I/O error path). Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions