[LU-5015] FMODE_{READ,WRITE} put on the wire Created: 06/May/14  Updated: 06/Mar/18  Resolved: 06/Mar/18

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: mdt

Issue Links:
Duplicate
is duplicated by LU-10483 Replace FMODE_READ and FMODE_WRITE in... Resolved
Severity: 3
Rank (Obsolete): 13878

 Description   

lustre_idl.h contains the following jewel:

#ifndef FMODE_READ
#define FMODE_READ               00000001
#define FMODE_WRITE              00000002
#endif

While these defines are unlikely to change we don't own them and we're not checking that they aren't changing (except the implicit check that Lustre operates 'normally'). On the wire an in the MDT stack we should be using MDS_FMODE_

{READ,WRITE}

(to be defined), and converting, and checking. There were some issues in the past when FMODE_EXEC was used by MDS_FMODE_EXEC was meant.


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