]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/md/md.c
md: override md superblock recovery_offset for journal device
authorShaohua Li <shli@fb.com>
Thu, 13 Aug 2015 21:31:56 +0000 (14:31 -0700)
committerNeilBrown <neilb@suse.com>
Sat, 24 Oct 2015 06:16:18 +0000 (17:16 +1100)
commit3069aa8def32b0c2b83cd27d1c37ed30b47ce879
treea2e8141984b338b15a0d940f416e48177acd2801
parentbac624f3f86a8c7db395c7f85ccad6a504b9c4b4
md: override md superblock recovery_offset for journal device

Journal device stores data in a log structure. We need record the log
start. Here we override md superblock recovery_offset for this purpose.
This field of a journal device is meaningless otherwise.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md.c
drivers/md/md.h
include/uapi/linux/raid/md_p.h