[PATCH v2 0/2] optimize empty entry hint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux