summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-11-14 12:57:50 -0700
committerJens Axboe <axboe@kernel.dk>2022-11-14 12:57:50 -0700
commit5626196a5ae0937368b35c3625c428a2125b0f44 (patch)
treed1573046af8058da35f718d0495e464cb08b9430 /include/linux
parent4f8126bb2308066b877859e4b5923ffb54143630 (diff)
parentb611ad14006e5be2170d9e8e611bf49dff288911 (diff)
downloadlinux-5626196a5ae0937368b35c3625c428a2125b0f44.tar.gz
linux-5626196a5ae0937368b35c3625c428a2125b0f44.tar.bz2
linux-5626196a5ae0937368b35c3625c428a2125b0f44.zip
Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-6.2/block
Pull MD fixes from Song. * 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md: md/raid1: stop mdx_raid1 thread when raid1 array run failed md/raid5: use bdev_write_cache instead of open coding it md: fix a crash in mempool_free md/raid0, raid10: Don't set discard sectors for request queue md/bitmap: Fix bitmap chunk size overflow issues md: introduce md_ro_state md: factor out __md_set_array_info() lib/raid6: drop RAID6_USE_EMPTY_ZERO_PAGE raid5-cache: use try_cmpxchg in r5l_wake_reclaim drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/raid/pq.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h
index d6e5a1feb947..f29aaaf2eb21 100644
--- a/include/linux/raid/pq.h
+++ b/include/linux/raid/pq.h
@@ -10,17 +10,9 @@
#ifdef __KERNEL__
-/* Set to 1 to use kernel-wide empty_zero_page */
-#define RAID6_USE_EMPTY_ZERO_PAGE 0
#include <linux/blkdev.h>
-/* We need a pre-zeroed page... if we don't want to use the kernel-provided
- one define it here */
-#if RAID6_USE_EMPTY_ZERO_PAGE
-# define raid6_empty_zero_page empty_zero_page
-#else
extern const char raid6_empty_zero_page[PAGE_SIZE];
-#endif
#else /* ! __KERNEL__ */
/* Used for testing in user space */