From 67d7864f839037c5188c2a9e7ec5e7b11a7672a2 Mon Sep 17 00:00:00 2001 From: Zach Koopmans Date: Mon, 19 Aug 2019 14:06:22 -0700 Subject: 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 --- pkg/abi/linux/file.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/abi/linux') 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 -- cgit v1.2.3