{"ref":"refs/heads/orion","push_id":55173301,"commits":[{"sha":"1c0dfc1ae9637cbfe5dabc0ea67c29633b5b04ec","author":{"email":"32d50ad1e384dcb9a5bf7e40fa470df5dabaf348@llnl.gov","name":"Brian Behlendorf"},"url":"https://api.github.com/repos/Prakash-Surya/lustre/commits/1c0dfc1ae9637cbfe5dabc0ea67c29633b5b04ec","message":"LU-723 Enhance lustre/ldiskfs build system (orion)\n\nEnhance the lustre/ldiskfs build system so it is more robust, flexible,\nand consistent with lustre/zfs build system. This change is being made\nin the interest of standardizing the infra-structure around backend\nfilesystems. Once applied to both master and orion it will largely\nbring the ldiskfs build infrastructure back in to sync and support\nour longer term goals.\n\nThis change does not effect the current behavior of the --with-ldiskfs,\n--enable-ext4, or --with-ldiskfsprogs configure options. However, it\ndoes remove the obsolete --with-ldiskfs-inkernel configure option which\nwas only used by LLNL. It also adds the --with-ldiskfs-obj configure\noption which improves flexibility. And the --enable-ldiskfs-build\nconfigure option to support building against the lustre-ldiskfs-devel\npackage. The behavior of these options is consistent with their zfs\ncounterparts, see commit 8c7266c for further details.\n\n--enable-ext4 enable ldiskfs build using ext4\n--enable-ldiskfs-build enable ldiskfs configure/make\n--with-ldiskfs=path set path to ldiskfs source\n--with-ldiskfs-obj=path set path to ldiskfs objects\n--with-ldiskfsprogs use alternate names for ldiskfs-enabled e2fsprogs\n\nSample ./configure results when building lustre and ldiskfs using\nthe kernel-devel and kernel-debuginfo-common packages.\n\nchecking whether to enable ldiskfs... yes\nchecking ldiskfs source directory... /home/behlendo/src/git/lustre/ldiskfs\nchecking ldiskfs object directory... /home/behlendo/src/git/lustre/ldiskfs\nchecking ldiskfs module symbols... Module.symvers\nchecking ldiskfs source release... 3.3.0\nchecking whether to use ext3 or ext4 source... ext4\nchecking ext4 source directory... /usr/src/debug/.../fs/ext4\nchecking whether to build ldiskfs... yes\nchecking for /home/behlendo/src/git/lustre/ldiskfs/configure... yes\nchecking for /usr/src/debug/.../fs/ext4/dir.c... yes\nchecking for /usr/src/debug/.../fs/ext4/file.c... yes\nchecking for /usr/src/debug/.../fs/ext4/inode.c... yes\nchecking for /usr/src/debug/.../fs/ext4/super.c... yes\nchecking if ext4_ext_walk_space() takes i_data_sem... yes\nchecking if LDISKFS_SINGLEDATA_TRANS_BLOCKS takes sb as argument... yes\nchecking if ldiskfs_discard_preallocations defined... yes\nchecking if ldiskfs_ext_insert_extent needs 5 arguments... yes\n\nIn the context of this change additional cleanup has been done and\nall of the ldiskfs specific code relocated to lustre-build-ldiskfs.m4.\n\nNote that this change moves us closer to supporting patchless Lustre\nservers with ldiskfs. Once the remaining kernel patches for Lustre\nare dropped you will be able to build Lustre using the distribution\nprovided kernel-devel and kernel-debuginfo-common packages.\n\nChange-Id: Id448b075ab9d1ca0af3529f67fcc1bd40c471af8\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\nSigned-off-by: Prakash Surya <surya1@llnl.gov>\nReviewed-on: http://review.whamcloud.com/1594\nTested-by: Hudson\nReviewed-by: Andreas Dilger <adilger@whamcloud.com>"}],"head":"1c0dfc1ae9637cbfe5dabc0ea67c29633b5b04ec","size":1}