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

Zhihao Cheng chengzhihao1 at huawei.com
Mon Nov 20 03:13:44 PST 2023


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

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




More information about the linux-mtd mailing list