engines/io_uring: don't attempt to set RLIMITs
authorJens Axboe <axboe@kernel.dk>
Fri, 21 Aug 2020 22:22:43 +0000 (16:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Aug 2020 22:22:43 +0000 (16:22 -0600)
commitd836624b3a7eb3433bdf8f7193b44daacd5ba6d1
treebe1ea9c14a958fcbe54cb2e5eea75c7a060f8e25
parentd05db492c6bc4263fba1088b33850bda35dc325b
engines/io_uring: don't attempt to set RLIMITs

This was meant to be helpful, but it's actively harmful if we're not
running as root. Just get rid of it, it's really no different than
needing appropriate memlock limits for just the ring itself.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c