summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2019-08-19 14:06:22 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-19 14:07:44 -0700
commit67d7864f839037c5188c2a9e7ec5e7b11a7672a2 (patch)
treee441d7e61cfd5bd6012fb7b4b13f7e43f79e4015 /pkg/abi/linux
parent3ffbdffd7e96e406fd3136818e0402cf0c2f0d4d (diff)
Document RWF_HIPRI not implemented for preadv2/pwritev2.
Document limitation of no reasonable implementation for RWF_HIPRI flag (High Priority Read/Write for block-based file systems). PiperOrigin-RevId: 264237589
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r--pkg/abi/linux/file.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go
index 615e72646..7d742871a 100644
--- a/pkg/abi/linux/file.go
+++ b/pkg/abi/linux/file.go
@@ -178,6 +178,8 @@ const (
// Values for preadv2/pwritev2.
const (
+ // Note: gVisor does not implement the RWF_HIPRI feature, but the flag is
+ // accepted as a valid flag argument for preadv2/pwritev2.
RWF_HIPRI = 0x00000001
RWF_DSYNC = 0x00000002
RWF_SYNC = 0x00000004