Whamcloud - gitweb
LU-13907 llite: don't set FS_REQUIRES_DEV on client 74/39674/4
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 13 Aug 2020 22:18:52 +0000 (16:18 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Sep 2020 18:13:01 +0000 (18:13 +0000)
commit76531b74d1280b93b6aa105e960819d806cc44f1
tree93aecf564fae40dc5b8e67c8a044904d16281196
parenta73f4e566debadfc156b6d8c48237a2e34ac75ba
LU-13907 llite: don't set FS_REQUIRES_DEV on client

If doing a client-only build, do not set the FS_REQUIRES_DEV flag
for the 'lustre' filesystem type.  This is only needed on the server,
but the filesystem type declaration is shared between both.

In master, this was fixed by declaring a new 'lustre_tgt' filesystem
type and using that for server filesystem mounts.  However, for 2.12
this is overkill, and it is possible to get a 95% fix by dropping
the FS_REQUIRES_DEV flag for the common case of client-only builds.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Change-Id: Iab2e78515aba018e2a6bceb324ad1b8a313ebbe5
Reviewed-on: https://review.whamcloud.com/39674
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/obd_mount.c