[LU-12514] separate out the lustre mount code for server and clients Created: 05/Jul/19  Updated: 17/Jun/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: James A Simmons Assignee: James A Simmons
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-4800 no automatic module load in newer ker... Resolved
is related to LU-12511 Prepare lustre for adoption into the ... Open
is related to LU-6013 Separate mount helpers for client and... Resolved
is related to LU-14581 el8.3/lu2.14 cannot mount mgs with se... Open
is related to LU-14061 LU-12514 (lustre_tgt mount type) brea... Resolved
is related to LU-13907 /proc/filesystem doesn't list lustre ... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

During LUG it was discussed how Lustre uses the same file system type for both servers and clients. This is something the kernel VFS maintainer would rather see handled differently. This ticket tracks the changes upstream for the client as well as implement the needed server side changes.



 Comments   
Comment by Gerrit Updater [ 05/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35424
Subject: LU-12514 obdclass: Drop FS_HAS_FIEMAP compat macro
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6fa37c36eb331f5ed1bb2b6600d870cb78fbac7f

Comment by Gerrit Updater [ 05/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35425
Subject: LU-12514 obdclass: discard FS_NEEDS_DEV flag.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 26aff1e24a39eab52f5635b48b1ecd424c1cd15d

Comment by Gerrit Updater [ 05/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35426
Subject: LU-12514 obdclass: remove pointless struct lustre_mount_data2
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c5615af369a70817007131a1ac467ed376b405fa

Comment by Gerrit Updater [ 05/Jul/19 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/35427
Subject: LU-12514 obdclass: remove vfsmount option from client_fill_super
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6f3b256d298a0f39812f54ba00999db9c10a3991

Comment by Andreas Dilger [ 06/Jul/19 ]

Given that we are past feature freeze for 2.13 and want to keep changes to a minimum, I think it makes sense to register a "lustre_tgt" filesystem type that is exactly the same as "lustre" for now, but would allow for forward compatibility and users could start adding "lustre_tgt" to /etc/fstab and/or if they upgrade and start using "lustre_tgt" they could downgrade without problems. If the patch is simple, maybe it could be backported to 2.12 as well.

Comment by Andreas Dilger [ 06/Jul/19 ]

Another possibility is "lustre_osd" instead of "lustre_tgt".

Comment by James A Simmons [ 07/Jul/19 ]

Agree. I only pushed the 'simple' patches so far. The other work is much more involved and I expect that is for 2.14

Comment by Andreas Dilger [ 08/Jul/19 ]

I'm not suggesting to actually separate the client and server mount code for 2.13, just register a second filesystem_type with the existing code, just for forward compatibility for the new mount type.

Comment by Gerrit Updater [ 12/Jul/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35424/
Subject: LU-12514 obdclass: Drop FS_HAS_FIEMAP compat macro
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7a7d075d501f4f7eee9c8c38fd4bd67fd891b251

Comment by Gerrit Updater [ 24/Jul/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35608
Subject: LU-12514 utils: add "lustre_tgt" filesystem type
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4d9b6d26fbd9b0fae7be8397febcf3108299c4a5

Comment by Gerrit Updater [ 11/Sep/19 ]

Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36165
Subject: LU-12514 utils: add "lustre_tgt" filesystem type
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 11572b2763f76c04ad7e01e1e372a2011a3fbed4

Comment by Gerrit Updater [ 17/Sep/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36202
Subject: LU-12514 tests: add testing for lustre_tgt type
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8cbbd2ae7df63fc18078cdb111141c6a7b677056

Comment by Gerrit Updater [ 20/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36165/
Subject: LU-12514 utils: add "lustre_tgt" filesystem type
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 510aea4a37ea26769be5946ca93a4576a1dd4095

Comment by Gerrit Updater [ 06/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35425/
Subject: LU-12514 obdclass: discard FS_REQUIRES_DEV flag.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 421d18c25b3143e9f2cabc1c0913475c03f739a4

Comment by Gerrit Updater [ 20/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35426/
Subject: LU-12514 obdclass: remove pointless struct lustre_mount_data2
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 99d616ca3d7df510c2375c15596a68b98f61cd37

Comment by Gerrit Updater [ 20/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35427/
Subject: LU-12514 obdclass: remove vfsmount option from client_fill_super
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0f3bec02fc5da0c5bb61eda482b5c954a00bf6bd

Comment by James A Simmons [ 20/Dec/19 ]

Theirs more

Comment by Gerrit Updater [ 24/Feb/20 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/37693
Subject: LU-12514 llite: move client mounting from obdclass to llite
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 215a33795119ef53facce560a9b8f72e558266b9

Comment by Gerrit Updater [ 02/Jun/20 ]

James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/38799
Subject: LU-12514 utils: try lustre_tgt filesystem for mount
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e639b0014544f4b22693c32614eb0194b6f0dd15

Comment by Gerrit Updater [ 10/Jul/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38799/
Subject: LU-12514 utils: try lustre_tgt filesystem for mount
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4b2eca7095c45cb2ab2d04ee5fece6880170a873

Comment by Gerrit Updater [ 10/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37693/
Subject: LU-12514 llite: move client mounting from obdclass to llite
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 53fa81765750e38f7879ed5092fd729c1bdc8a0f

Comment by Gerrit Updater [ 27/Apr/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47159
Subject: LU-12514 LNet: get entropy from nid when nid set.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 04dbf001ede0140e00e6d534e2a1c08162e94d9e

Comment by Gerrit Updater [ 27/Apr/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/47160
Subject: LU-12514 target: move server mount code to target layer
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d237af35b0e952a5d161a30817a58ec22c9ec1dd

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47159/
Subject: LU-12514 LNet: get entropy from nid when nid set.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ab0a6a9a066a7b175ff48b9b679ba0fb59416f9b

Comment by Gerrit Updater [ 01/Sep/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47160/
Subject: LU-12514 target: move server mount code to target layer
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fab404836d9eff7cfe61dc280a7854608894f645

Comment by James A Simmons [ 01/Sep/22 ]

One more patch to develop and another to test the change.

Comment by Gerrit Updater [ 15/Nov/22 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49165
Subject: LU-12514 ptlrpc: move thread creation out of module initialization
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f0c481e34c89c63eae9ca1259e64a693e11c444e

Generated at Sat Feb 10 02:53:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.