[PATCH 0/3] ubifs: Fixed several low-probability issues.

From: Zhihao Cheng
Date: Sun Nov 19 2023 - 22:19:54 EST


These filesystem problems are found in stress tests from
https://lore.kernel.org/linux-mtd/935504729.4822.1697398448017.JavaMail.zimbra@xxxxxx/.

Zhihao Cheng (3):
ubifs: Check @c->dirty_[n|p]n_cnt and @c->nroot state under
@c->lp_mutex
ubifs: ubifs_tnc_locate: Drop TNC mutex lockless reading path
ubifs: Don't stop retrying even if committing times exceeds two

fs/ubifs/commit.c | 13 ++++++++++++-
fs/ubifs/journal.c | 26 ++++++++++----------------
fs/ubifs/tnc.c | 31 +++----------------------------
3 files changed, 25 insertions(+), 45 deletions(-)

--
2.39.2