On Wed, Feb 23, 2022 at 03:02:08PM +0800, Ming Lei wrote: > There are small amount of in-kernel passthrough requests(admin, or driver > private) which shouldn't be accounted, but passthrough RW IO requests from > userspace can be lots of, and user may rely on diskstat to account them. /dev/sg won't be accounted either. But most importantly they are accounted wrongly: the accounting buckets into read/write/discard. Any most pass through commands are everything but. Also the way how this accounting works is completely broken. Passthrough requests are sent through a request_queue, and it does not make sense to account them to a block_device which sits way about that.