diff options
| author | Jan Höppner <[email protected]> | 2020-09-14 11:56:47 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-15 01:40:21 +0000 |
| commit | 709192d531e5b0a91f20aa14abfe2fc27ddd47af (patch) | |
| tree | 3ef738f7fb01ff7d1a9630bcb748710733bfb2c5 /net/switchdev/switchdev.c | |
| parent | Merge tag 'nvme-5.9-2020-09-10' of git://git.infradead.org/nvme into block-5.9 (diff) | |
| download | kernel-709192d531e5b0a91f20aa14abfe2fc27ddd47af.tar.gz kernel-709192d531e5b0a91f20aa14abfe2fc27ddd47af.zip | |
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 <[email protected]>
Reviewed-by: Stefan Haberland <[email protected]>
Cc: <[email protected]> # 4.14+
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
