[LU-8402] OBD_CONNECT_* flags retirement Created: 14/Jul/16 Updated: 25/Mar/19 Resolved: 26/Mar/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.7 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy, medium | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Several of the OBD_CONNECT_* flags have outlived their usefulness and should just always assume to be set or unset so that affected code paths can be simplified. [10:23:19 AM] John Hammond: It seems like some of the OBD_CONNECT_* flags can be assumed to be set for all supported versions and then some. For example OBD_CONNECT_IBITS. Should we put together a list of such flags which can be required at connect time and then other code that check these flags can be simplified? Candidates for retirement include: OBD_CONNECT_IBITS OBD_CONNECT_ATTRFID OBD_CONNECT_NODEVOH OBD_CONNECT_CANCELSET OBD_CONNECT_REAL OBD_CONNECT_FID OBD_CONNECT_VBR OBD_CONNECT_LOV_V3 OBD_CONNECT_FULL20 There are probably others as well. Some archeology is needed to determine in which versions these flags were added or started to be ignored. |
| Comments |
| Comment by Gerrit Updater [ 09/Nov/17 ] |
|
John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/30009 |
| Comment by Gerrit Updater [ 09/Nov/17 ] |
|
John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/30010 |
| Comment by Gerrit Updater [ 10/Nov/17 ] |
|
John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/30036 |
| Comment by Gerrit Updater [ 01/Dec/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30009/ |
| Comment by Gerrit Updater [ 01/Dec/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30010/ |
| Comment by Gerrit Updater [ 01/Dec/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30036/ |
| Comment by Peter Jones [ 01/Dec/17 ] |
|
Any more patches to come under this ticket or can it be marked as RESOLVED? |
| Comment by John Hammond [ 05/Dec/17 ] |
|
Let's resolve this and a new issue can be opened when we retire more flags. |
| Comment by Joseph Gmitter (Inactive) [ 26/Mar/18 ] |
|
opening to add fix version and resolving again. |
| Comment by Gerrit Updater [ 15/Jan/19 ] |
|
Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34027 |
| Comment by Gerrit Updater [ 01/Feb/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34027/ |