diff options
author | Matthew Ahrens <[email protected]> | 2019-06-13 08:48:43 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-06-13 08:48:42 -0700 |
commit | 3475724ea4221a354633d7c4e50d9d90f6bd266f (patch) | |
tree | ed00326622bcba4c35fcfbd8981208f37f3fdf01 /config/kernel-insert-inode-locked.m4 | |
parent | daddbdc7ccf5edc6174d6e7300f93bf009f0be12 (diff) |
ztest: dmu_tx_assign() gets ENOSPC in spa_vdev_remove_thread()
When running zloop, we occasionally see the following crash:
dmu_tx_assign(tx, TXG_WAIT) == 0 (0x1c == 0)
ASSERT at ../../module/zfs/vdev_removal.c:1507:spa_vdev_remove_thread()/sbin/ztest(+0x89c3)[0x55faf567b9c3]
The error value 0x1c is ENOSPC.
The transaction used by spa_vdev_remove_thread() should not be able to
fail due to being out of space. i.e. we should not call
dmu_tx_hold_space(). This will allow the removal thread to schedule its
work even when the pool is low on space. The "slop space" will provide
enough free space to sync out the txg.
Reviewed-by: Igor Kozhukhov <[email protected]>
Reviewed-by: Paul Dagnelie <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matthew Ahrens <[email protected]>
External-issue: DLPX-37853
Closes #8889
Diffstat (limited to 'config/kernel-insert-inode-locked.m4')
0 files changed, 0 insertions, 0 deletions