vfs: add the RWF_HIPRI flag for preadv2/pwritev2
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Mar 2016 15:04:01 +0000 (16:04 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Mar 2016 17:20:10 +0000 (12:20 -0500)
commit97be7ebe53915af504fb491fb99f064c7cf3cb09
treebf2995e974c538c38d5db5c4fbf9486cce478d81
parent4babf2c5efb79be778d45ebe95d9c9b3c880c83b
vfs: add the RWF_HIPRI flag for preadv2/pwritev2

This adds a flag that tells the file system that this is a high priority
request for which it's worth to poll the hardware.  The flag is purely
advisory and can be ignored if not supported.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stephen Bates <stephen.bates@pmcs.com>
Tested-by: Stephen Bates <stephen.bates@pmcs.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/read_write.c
include/linux/fs.h
include/uapi/linux/fs.h