summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/pci.c
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.ibm.com>2020-09-14 13:56:47 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-14 19:40:21 -0600
commit709192d531e5b0a91f20aa14abfe2fc27ddd47af (patch)
tree3ef738f7fb01ff7d1a9630bcb748710733bfb2c5 /drivers/nvme/host/pci.c
parentfd04358e0196fe3b7b44c69b755c7fc329360829 (diff)
s390/dasd: Fix zero write for FBA devices
A discard request that writes zeros using the global kernel internal ZERO_PAGE will fail for machines with more than 2GB of memory due to the location of the ZERO_PAGE. Fix this by using a driver owned global zero page allocated with GFP_DMA flag set. Fixes: 28b841b3a7cb ("s390/dasd: Add discard support for FBA devices") Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Cc: <stable@vger.kernel.org> # 4.14+ Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions