Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7e09d03 authored by Peng Tao's avatar Peng Tao Committed by Greg Kroah-Hartman
Browse files

staging: add Lustre file system client support

Lustre is the most deployed distributed file system
in the HPC (High Performance Computing) world. The patch
adds its client side support.

The code is not very clean and needs to live in drivers/staging
for some time for continuing cleanup work. See
drivers/staging/lustre/TODO for details.

The code is based on Lustre master commit faefbfc04

commit faefbfc0460bc00f2ee4c1c1c86aa1e39b9eea49
Author: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Date:   Tue Apr 30 23:05:21 2013 +0400

    LU-3244 utils: tunefs.lustre should preserve virgin label

Plus a few under-review patches on Whamcloud gerrit:
3.8 kernel support:
http://review.whamcloud.com/#change,5973
http://review.whamcloud.com/#change,5974
http://review.whamcloud.com/#change,5768
http://review.whamcloud.com/#change,5781
http://review.whamcloud.com/#change,5763
http://review.whamcloud.com/#change,5613
http://review.whamcloud.com/#change,5655

3.9 kernel support:
http://review.whamcloud.com/#change,5898
http://review.whamcloud.com/#change,5899

Kconfig/Kbuild:
http://review.whamcloud.com/#change,4646
http://review.whamcloud.com/#change,4644

libcfs cleanup:
http://review.whamcloud.com/#change,2831
http://review.whamcloud.com/#change,4775
http://review.whamcloud.com/#change,4776
http://review.whamcloud.com/#change,4777
http://review.whamcloud.com/#change,4778
http://review.whamcloud.com/#change,4779
http://review.whamcloud.com/#change,4780



All starting/trailing whitespaces are removed, to match kernel
coding style. Also ran scripts/cleanfile on all lustre source files.

[maked the Kconfig depend on BROKEN as the recent procfs changes causes
this to fail - gregkh]

Signed-off-by: default avatarPeng Tao <tao.peng@emc.com>
Signed-off-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2339b79d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -140,4 +140,6 @@ source "drivers/staging/netlogic/Kconfig"

source "drivers/staging/dwc2/Kconfig"

source "drivers/staging/lustre/Kconfig"

endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -62,3 +62,4 @@ obj-$(CONFIG_FIREWIRE_SERIAL) += fwserial/
obj-$(CONFIG_ZCACHE)		+= zcache/
obj-$(CONFIG_GOLDFISH)		+= goldfish/
obj-$(CONFIG_USB_DWC2)		+= dwc2/
obj-$(CONFIG_LUSTRE_FS)		+= lustre/
+3 −0
Original line number Diff line number Diff line
source "drivers/staging/lustre/lustre/Kconfig"

source "drivers/staging/lustre/lnet/Kconfig"
+4 −0
Original line number Diff line number Diff line
subdir-ccflags-y := -I$(src)/include/

obj-$(CONFIG_LUSTRE_FS)		+= lustre/
obj-$(CONFIG_LNET)		+= lnet/
+13 −0
Original line number Diff line number Diff line
* Possible remaining coding style fix.
* Remove deadcode.
* Seperate client/server functionality. Functions only used by server can be
  removed from client.
* Clean up libcfs layer. Ideally we can remove include/linux/libcfs entirely.
* Clean up CLIO layer. Lustre client readahead/writeback control needs to better
  suit kernel providings.
* Add documents in Documentation.
* Other minor misc cleanups...

Please send any patches to Greg Kroah-Hartman <greg@kroah.com>, Andreas Dilger
<andreas.dilger@intel.com> and Peng Tao <tao.peng@emc.com>. CCing
hpdd-discuss <hpdd-discuss@lists.01.org> would be great too.
Loading