mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
[zfs-2.2.8] Revert "vdev_disk: default to classic submission for 2.2.x"
This reverts commit eebf00bee9.
Classic mode is causing assertions on both this branch and master:
VERIFY3(page_count(page) > 0) failed (0 > 0)
PANIC at abd_os.c:1069:bio_map()
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
@@ -963,10 +963,8 @@ vdev_disk_io_rw(zio_t *zio)
|
||||
/*
|
||||
* This is the classic, battle-tested BIO submission code. Until we're totally
|
||||
* sure that the new code is safe and correct in all cases, this will remain
|
||||
* available.
|
||||
*
|
||||
* It is enabled by setting zfs_vdev_disk_classic=1 at module load time. It is
|
||||
* enabled (=1) by default since 2.2.4, and disabled by default (=0) on master.
|
||||
* available and can be enabled by setting zfs_vdev_disk_classic=1 at module
|
||||
* load time.
|
||||
*
|
||||
* These functions have been renamed to vdev_classic_* to make it clear what
|
||||
* they belong to, but their implementations are unchanged.
|
||||
@@ -1516,7 +1514,7 @@ vdev_disk_rele(vdev_t *vd)
|
||||
* BIO submission method. See comment above about vdev_classic.
|
||||
* Set zfs_vdev_disk_classic=0 for new, =1 for classic
|
||||
*/
|
||||
static uint_t zfs_vdev_disk_classic = 1; /* default classic */
|
||||
static uint_t zfs_vdev_disk_classic = 0; /* default new */
|
||||
|
||||
/* Set submission function from module parameter */
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user