mbox series

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

Message ID 20231120111347.2254153-1-chengzhihao1@huawei.com
Headers show
Series ubifs: Fixed several low-probability issues. | expand

Message

Zhihao Cheng Nov. 20, 2023, 11:13 a.m. UTC
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(-)