Whamcloud - gitweb
LU-12514 llite: move client mounting from obdclass to llite 93/37693/17
authorMr NeilBrown <neilb@suse.de>
Mon, 28 Dec 2020 20:56:12 +0000 (15:56 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 Mar 2021 08:02:29 +0000 (08:02 +0000)
commit53fa81765750e38f7879ed5092fd729c1bdc8a0f
tree5abdd65e22e99bfa5b00db26e2702351b679fc0b
parentf684172237e99b8064a68bd6e53bcbb915c663c5
LU-12514 llite: move client mounting from obdclass to llite

Mounting a lustre client is currently handled
in obdclass, using services from llite.
This requires obdclass to load the llite module
and set up inter-module linkage.

The purpose of this was for common code to support both
client and server mounts.  This isn't really a good idea
and need to go. For lustre servers we already use a
separate filesystem type.

So move the mounting code from obdclass/obd_mount to llite/super25
and remove the inter-module linkages.
Add some EXPORT_SYMBOL() so that llite can access some helpers
that remain in obdclass.

Linux-commit: a989830c88149511ee840356d9c1b34304bac576

Change-Id: Ia33bd55a042f90b178156c745a8072b516f00568
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Reviewed-on: https://review.whamcloud.com/37693
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in
lustre/include/lustre_disk.h
lustre/include/obd_class.h
lustre/llite/llite_lib.c
lustre/llite/super25.c
lustre/obdclass/class_obd.c
lustre/obdclass/obd_mount.c
lustre/obdclass/obd_mount_server.c
lustre/utils/Makefile.am