[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: |
|
||||||||
| 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. |