[LU-11963] Add nonrotational flag to obd_statfs Created: 12/Feb/19  Updated: 02/Nov/21  Resolved: 04/Jun/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0, Lustre 2.12.3, Lustre 2.14.0

Type: Improvement Priority: Minor
Reporter: Patrick Farrell (Inactive) Assignee: Patrick Farrell (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-12396 lfs df output is treated as binary da... Resolved
is related to LU-10158 FLR: Define a replica choosing policy... Open
Rank (Obsolete): 9223372036854775807

 Description   

It is potentially useful for the MDS to know whether or not an OST is using non-rotational media.  The eventual consumer of this information is some form of userspace tooling such as a policy engine, though it could also be worked in to allocation policies.



 Comments   
Comment by Gerrit Updater [ 12/Feb/19 ]

Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34235
Subject: LU-11963 osd: Add nonrotational flag to statfs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: dbcbb2587fa254905f2d0eb19fb9d6275dcb0d02

Comment by Gerrit Updater [ 22/Feb/19 ]

Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34289
Subject: LU-11963 obd: Rename statfs flags
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8cb3c76d990933ee17eb793d7625242b684752e3

Comment by Gerrit Updater [ 04/Jun/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34235/
Subject: LU-11963 osd: Add nonrotational flag to statfs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 68635c3d9b3113621b93fd989f1a3f8f064385b9

Comment by Peter Jones [ 04/Jun/19 ]

Landed for 2.13

Comment by Andreas Dilger [ 10/Jun/19 ]

This also needs patch https://review.whamcloud.com/35137 "LU-12396 utils: lfs should not output 'nul' char".

Comment by Gerrit Updater [ 13/Jun/19 ]

Patrick Farrell (pfarrell@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35226
Subject: LU-11963 osd: Add nonrotational flag to statfs
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: ef350db1b46fb73eda28372e196f3581cf735dd0

Comment by Gerrit Updater [ 11/Aug/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35226/
Subject: LU-11963 osd: Add nonrotational flag to statfs
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 01f465e731914ff3348f5efec44585850b4df2b5

Comment by Gerrit Updater [ 10/Jun/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34289/
Subject: LU-11963 obd: Rename OS_STATE flags to OS_STATFS
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9be2db987767a64fdcc20cbf31c37e59a954913c

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