On Wed, May 15, 2019 at 11:03:10AM +0800, Ming Lei wrote: > cd4a4ae4683d ("block: don't use blocking queue entered for recursive > bio submits") introduces BIO_QUEUE_ENTERED to avoid blocking queue entered > for recursive bio submits. Now there isn't such use any more. The only > one use is for cgroup accounting on splitted bio, so rename it > as BIO_SPLITTED. Actually - this now is only used for accounting. What about renaming the flag to BIO_ACCOUNTED and just test and set it in blkcg_bio_issue_check? That function looks way too big to be inline while we're at it..