Whamcloud - gitweb
LU-50 ldiskfs: pdirops patch for ldiskfs 75/375/14
authorLiang Zhen <liang@whamcloud.com>
Fri, 8 Jul 2011 17:43:08 +0000 (13:43 -0400)
committerLiang Zhen <liang@whamcloud.com>
Thu, 8 Dec 2011 15:39:31 +0000 (23:39 +0800)
commit19223651ed250966c0445c91dc91a5b9131dec35
treedbfe3e6bdd1f6fcab659dd1357a8ac22c46ce79b
parent97941a4de15d8b2939a7b8c8460dbe39e4dff0d8
LU-50 ldiskfs: pdirops patch for ldiskfs

Single directory performance is a critical for HPC workloads. In a
typical use case an application creates a separate output file for
each node and task in a job. As nodes and tasks increase, hundreds
of thousands of files may be created in a single directory within
a short window of time.
Today, both filename lookup and file system modifying operations
(such as create and unlink) are protected with a single lock for
an entire ldiskfs directory. PDO project will remove this
bottleneck by introducing a parallel locking mechanism for entire
ldiskfs directories. This work will enable multiple application
threads to simultaneously lookup, create and unlink in parallel.

This patch contains:
  - pdirops support for ldiskfs
  - N-level htree directory
  - integrate with osd-ldiskfs

Change-Id: I269c0e3112e68f3acd79e860dab052a68c7d7aaa
Signed-off-by: Liang Zhen <liang@whamcloud.com>
build/autoconf/lustre-build-ldiskfs.m4
ldiskfs/configure.ac
ldiskfs/kernel_patches/patches/ext4_pdirop-rhel6.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.series
ldiskfs/ldiskfs/Makefile.in
ldiskfs/ldiskfs/autoMakefile.am
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_lproc.c