Whamcloud - gitweb
LU-4015 ldiskfs: access external journal using device path
authorJames Simmons <uja.ornl@gmail.com>
Tue, 5 Nov 2013 18:47:26 +0000 (13:47 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 30 Dec 2013 22:35:03 +0000 (17:35 -0500)
commit1dee44f30fabc8953abc4695ef1f0978af94ab9c
tree169d0e9e2f7d2512aa23a8e5801d66f752c660d6
parent20539e6ede83dac15b6e15aa7f3d20082f96b551
LU-4015 ldiskfs: access external journal using device path

Currently ldiskfs when configured with an external journal
uses the device number to access it. The problem with this
approach is that the device number can change across
reboots. This patch adds a new mount option -o journal_path
to tell ldiskfs where the external journal is instead.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I43fff89c2bebeff4f0305cdc24cefa534fb9fe67
Reviewed-on: http://review.whamcloud.com/7777
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
ldiskfs/kernel_patches/patches/rhel6.3/ext4-journal-path-opt.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.4.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.series
ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series
ldiskfs/kernel_patches/series/ldiskfs-3.0-sles11sp3.series