linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] optimize empty entry hint
@ 2022-11-02  7:11 Yuezhang.Mo
  0 siblings, 0 replies; only message in thread
From: Yuezhang.Mo @ 2022-11-02  7:11 UTC (permalink / raw)
  To: Namjae Jeon, Sungjong Seo
  Cc: linux-kernel, linux-fsdevel, Andy.Wu, Wataru.Aoyama

These commits reduce the number of directory entries traversed by
optimizing empty entry hint.

Changes for v2:
  - [1/2]
    - add exfat_reset_empty_hint()
    - rename exfat_hint_empty_entry() to exfat_set_empty_hint()
    - remove the condition `ei->hint_femp.count < num_entries`
  - [2/2]
    - Check the empty entries after unused entry in
      exfat_search_empty_slot()

Yuezhang Mo (2):
  exfat: simplify empty entry hint
  exfat: hint the empty entry which at the end of cluster chain

 fs/exfat/dir.c   | 76 +++++++++++++++++++++++++++++++-----------------
 fs/exfat/namei.c | 33 +++++++++++++--------
 2 files changed, 70 insertions(+), 39 deletions(-)

-- 
2.25.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-02  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02  7:11 [PATCH v2 0/2] optimize empty entry hint Yuezhang.Mo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).