Add 64-bit length variants of {f,m}advise
The existing versions only take a 32-bit length, and hence cannot advise
in ranges bigger than 4GB.
Add *64 variants that take a full 64-bit length. This needs support
on the kernel side. If the kernel does not support the 64-bit variants,
the request will be errored with -EINVAL.
Link: https://lore.kernel.org/io-uring/bc92a2fa-4400-4c3a-8766-c2e346113ea7@s.muenzel.net/
Reported-by: Stefan <source@s.muenzel.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
6 files changed