commit | c16361c1d805b6ea50c3c1fc5c314e944c71a984 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Jan 17 08:39:48 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 28 08:24:23 2019 -0700 |
tree | 39685143a45d9ad5981362ac908ce4b3cdd7e0ca | |
parent | 6c271ce2f1d572f7fa225700a13cfe7ced492434 [diff] |
io_uring: add io_kiocb ref count We'll use this for the POLL implementation. Regular requests will NOT be using references, so initialize it to 0. Any real use of the io_kiocb ref will initialize it to at least 2. Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>