---
name: "blk_queue_invalidate_tags"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_queue_invalidate_tags"
---

# blk\_queue\_invalidate\_tags(9)

invalidate all pending tags

## NAME

blk\_queue\_invalidate\_tags - invalidate all pending tags

## SYNOPSIS

**void blk\_queue\_invalidate\_tags(struct request\_queue \*** *q***);**

## ARGUMENTS

*q*

the request queue for the device

## DESCRIPTION

Hardware conditions may dictate a need to stop all pending requests. In this case, we will safely clear the block side of the tag queue and readd all requests to the request queue in the right order.

## NOTES

queue lock must be held.

## COPYRIGHT
