commit | 0aed2f162bbc7853fe91c0d70492ea73c4e9cb07 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Dec 09 07:31:22 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Dec 16 10:59:01 2021 -0700 |
tree | 6e3e60626ffaabf7d6a6c99e4301764709c38637 | |
parent | 8a2ba1785c5803d59a63b6320ff54fd4a37a41ce [diff] |
block: simplify struct io_context refcounting Don't hold a reference to ->refcount for each active reference, but just one for all active references. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20211209063131.18537-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>