LU-2473 ldiskfs: Reorganize ldiskfs kernel patches This commit makes no changes to the patches, only moving their location. For some time we have supported only a single kernel per major OS release, e.g. RHEL 6.3, or RHEL 6.2, but not both. While it is understandable to only support a single kernel, it is quite another to intentionally destroy the patchset for the previous kernel every time we upgrade. This makes the logistics of upgrading an OS release (even a minor one like RHEL 6.2 to 6.3, or 6.3 to 6.4) quite complicated. We should really start a new patch series when we update support for a new kernel. That way we can leave the patch sets for previous kernels in place. We do not need to "support" them, but at least leaving them unmolested until the users of the previous patch set have time to upgrade would be greatly appreciated. This commit attempts to organize the patches into subdirectories according to the kernel/os in which they were first created. A later commit will then add support for RHEL6.4. Also, fix build/confirmpatches.sh to allow checking ldiskfs/kernel_patches (a bug prevent checking anything but the default). Extend both confirmpatches.sh and clearpatches.sh to work with series files that point to patches organized into subdirectories. Change-Id: I6552fc271fff1f00657ba1430c4a1215dea5b530 Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov> Reviewed-on: http://review.whamcloud.com/4803 Reviewed-by: James Simmons <uja.ornl@gmail.com> Tested-by: Hudson Reviewed-by: Jeff Mahoney <jeffm@suse.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
LU-687 ldiskfs: resolve section dynlocks mismatch Fix __init/__exit section mismatch. WARNING: lustre-2.1.0/ldiskfs/ldiskfs/ldiskfs.o(.init.text+0x1bc): Section mismatch in reference from the function init_module() to the function .exit.text:dynlock_cache_exit(). An __init init_module() function references a function __exit dynlock_cache_exit(). This is often seen when error handling in the init function uses functionality in the exit path. The fix is often to remove the __exit annotation of dynlock_cache_exit() so it may be used outside an exit section. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Change-Id: Ie0bdde7f78c18bca1127151175cf56bfa6ad500c Reviewed-on: http://review.whamcloud.com/2019 Tested-by: Hudson Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-1048 ldiskfs: fix dynlock cache entry freeing Update to rhel6.2 broke dynlocks patch and the last hunk was ignored by quilt/patch. This commit rediffs the proper patch against 2.6.32-220.el6 Change-Id: If9020458d07c7c2dc714b3e38587f66c4846f806 Signed-off-by: Oleg Drokin <green@whamcloud.com> Reviewed-on: http://review.whamcloud.com/2034 Tested-by: Hudson Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
LU-781 kernel: kernel update [RHEL6.2 2.6.32-220] Add support for RHEL6.2. The version is 2.6.32-220.el6. Change-Id: Icc03a2f5d8b377aa1b1180ae09056989bbc84a9d Signed-off-by: Yang Sheng <ys@whamcloud.com> Reviewed-on: http://review.whamcloud.com/1892 Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Johann Lombardi <johann@whamcloud.com> Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
LU-459 quiet too noisy console messages at mount Quiet a number of extra debug messages printed to the console after a remount or recovery. They provide no value and just add to the general confusion of reading Lustre debug messages. Change-Id: Ia0b43bbd337501169dec234ff66dd56f67f75131 Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-on: http://review.whamcloud.com/1275 Tested-by: Hudson Reviewed-by: Jinshan Xiong <jay@whamcloud.com> Reviewed-by: Yang Sheng <ys@whamcloud.com> Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-264 Integrate upstream ext4 MMP chnages Integrate the changes made to the MMP patch when it was submitted upstream for the 2.6.40 kernel. Mostly cosmetic changes were done (improved comments, etc), along with moving the MMP functionality into a separate mmp.c file in order to avoid increasing the size of super.c too much. Signed-off-by: Niu Yawei <niu@whamcloud.com> Change-Id: I6909f3e44b077d65d653994ed1ac3ee11fcacb7f Reviewed-on: http://review.whamcloud.com/865 Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
LU-73 RHEL6 support. Include client, ldiskfs, kernel patches. Change-Id: Ice16b8bf40c2e37df9af9f399316917097e8ee8f Signed-off-by: Bobi Jam <bobijam@whamcloud.com> Reviewed-on: http://review.whamcloud.com/307 Tested-by: Hudson Reviewed-by: Andreas Dilger <adilger@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com> Reviewed-by: Brian J. Murrell <brian@whamcloud.com>