Whamcloud - gitweb
LU-9558 llite: port lustre to unified handling of bdi 75/30575/2
authorJan Kara <jack@suse.cz>
Wed, 18 Oct 2017 16:26:19 +0000 (12:26 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 20 Dec 2017 17:44:51 +0000 (17:44 +0000)
commite0dbfb69fb59268bd0da7bb72b9062ddc8f405a3
tree512b18133b0f3f47f5df0679c983f7be962462d3
parentb87511a0578a03447c51a8495966d60c90fcee61
LU-9558 llite: port lustre to unified handling of bdi

For the linux 4.12 kernel the bdi handling was unified for all
file systems. This was done by allocating struct backing_dev_info
separately instead of embedding it inside superblock. For older
kernels we move all the bdi handling lustre does to the function
super_setup_bdi_name() which is what exist in the latest kernels.

Linux-commit: 9594caf216dc0fe3e318b34af0127276db661241

Lustre-change: https://review.whamcloud.com/28511
Lustre-commit: 1defa62a19e71c021ec2cf9fc9e0481e9ab962e0

Change-Id: I5af60ea3661e3d3a97973fd99a79c28dcd1ce1cc
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: https://review.whamcloud.com/30575
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_disk.h
lustre/llite/llite_lib.c