commit | a5b97526bf2860fe8306959f19ee428d1f5cc732 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jun 27 09:31:53 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 29 09:09:08 2020 -0600 |
tree | 8f3c46c26cb255774957970073be840bdc23af9f | |
parent | 8c5462875224a6d81683e733087f501f58fccd4c [diff] |
block: bypass blkg_tryget_closest for the root_blkg The root_blkg is only torn down at the very end of removing a queue. So in the I/O submission path is always has a life reference and we can just grab another one using blkg_get instead of doing a tryget and parent walk that won't lead anywhere. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>