]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75e017cb6971a56b5a307dee13ac62b553b6e439
treebf2995e974c538c38d5db5c4fbf9486cce478d81
parentf4b85f1218593d0b0451a966fcec3e1fac763c80
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