summaryrefslogtreecommitdiff
path: root/fs/bcachefs/error.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-18 03:22:30 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:37 +0300
commita0cb8d784f309d22323974e47b103bf01d0b62c0 (patch)
tree9c7cab02e1fddbe1a4224b6c17f24a6a4eb8cc2f /fs/bcachefs/error.c
parent549d173c1bd9b58c2ad41217522462e012a6545f (diff)
downloadlinux-a0cb8d784f309d22323974e47b103bf01d0b62c0.tar.xz
bcachefs: Inject transaction restarts in debug mode
In CONFIG_BCACHEFS_DEBUG mode, we'll now randomly issue transaction restarts - with a decaying probability based on the number of restarts we've already had, to ensure that transactions eventually make forward progress. This should help shake out some bugs. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/error.c')
0 files changed, 0 insertions, 0 deletions