-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ZIL: "crash" the ZIL if the pool suspends during fallback #17398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
robn
wants to merge
11
commits into
openzfs:master
Choose a base branch
from
KlaraSystems:zil-suspend-break
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
074c041
zts: test syncfs() behaviour when pool suspends
robn 00645b2
zfs_sync: remove support for impossible scenarios
robn f278642
zfs_sync: return error when pool suspends
robn 4b13dd1
zpl_sync_fs: work around kernels that ignore sync_fs errors
robn 28bdb8d
FreeBSD: zfs_putpages: don't undirty pages until after write completes
robn e894b45
ZTS: test response of various sync methods under different failmodes
robn ed9462b
ZIL: allow zil_commit() to fail with error
robn e2afb79
ZIL: pass commit errors back to ITX callbacks
robn 8bbbeec
ZIL: "crash" the ZIL if the pool suspends during fallback
robn ead8b94
Linux: zfs_putpage: handle page writeback errors
robn 40a85c9
FreeBSD: zfs_putpage: handle page writeback errors
robn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# dnl | ||
# dnl 5.8 (735e4ae5ba28) introduced a superblock scoped errseq_t to use to | ||
# dnl record writeback errors for syncfs() to return. Up until 5.17, when | ||
# dnl sync_fs errors were returned directly, this is the only way for us to | ||
# dnl report an error from syncfs(). | ||
# dnl | ||
AC_DEFUN([ZFS_AC_KERNEL_SRC_SUPER_BLOCK_S_WB_ERR], [ | ||
ZFS_LINUX_TEST_SRC([super_block_s_wb_err], [ | ||
#include <linux/fs.h> | ||
|
||
static const struct super_block | ||
sb __attribute__ ((unused)) = { | ||
.s_wb_err = 0, | ||
}; | ||
],[]) | ||
]) | ||
|
||
AC_DEFUN([ZFS_AC_KERNEL_SUPER_BLOCK_S_WB_ERR], [ | ||
AC_MSG_CHECKING([whether super_block has s_wb_err]) | ||
ZFS_LINUX_TEST_RESULT([super_block_s_wb_err], [ | ||
AC_MSG_RESULT(yes) | ||
AC_DEFINE(HAVE_SUPER_BLOCK_S_WB_ERR, 1, | ||
[have super_block s_wb_err]) | ||
],[ | ||
AC_MSG_RESULT(no) | ||
]) | ||
]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.