Whamcloud - gitweb
LU-12514 llite: move client mounting from obdclass to llite
authorMr NeilBrown <neilb@suse.de>
Mon, 28 Dec 2020 20:56:12 +0000 (15:56 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 17 Jun 2023 05:35:26 +0000 (05:35 +0000)
commit209a9e483dac93352d6076d90c150ca5303a86e5
tree650e1a08887fa0b52f7cbbcbb6efea75372b37fc
parent44f84783ebf0dd1b2554ac06758083505c9a7615
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

Lustre-change: https://review.whamcloud.com/37693
Lustre-commit: 53fa81765750e38f7879ed5092fd729c1bdc8a0f

Change-Id: Ia33bd55a042f90b178156c745a8072b516f00568
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51315
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@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