Actions
Enhancement #69082
closed
AK
JP
Notify with health warn if bdev discard queue gets too long.
Enhancement #69082:
Notify with health warn if bdev discard queue gets too long.
Due date:
% Done:
0%
Tags (freeform):
Merge Commit:
Fixed In:
v20.3.0-1346-g6a030faf34
Released In:
v21.2.0~2585
Upkeep Timestamp:
2026-10-24T02:19:11+00:00
Description
Some devices support discarding data - that is signalling that specific portion of data is no longer used.
In linux it is executed via ioctl(..., BLKDISCARD, ...).
Our bdev implements it.
We have a queue of discards to not affect main execution path.
The lifecycle with async discard enabled is:
[allocated]->free->add to discard queue | pick from discard queue->execute discard->[mark as free]
Problem:
Some drives are very slow in executing this operation.
This affects disk space that is seen as free by allocator.
Most of disc space that could be considered to allocation is blocked in discard queue.
Enhancement:
Emit health warn if amount of data in discard queue(s) exceeds some limit
JP Updated by Jaya Prakash almost 2 years ago
- Status changed from New to Fix Under Review
NO Updated by Neha Ojha almost 2 years ago
- Pull request ID set to 61286
JP Updated by Jaya Prakash over 1 year ago
- Status changed from Fix Under Review to Resolved
JP Updated by Jaya Prakash over 1 year ago
- Status changed from Resolved to Fix Under Review
JP Updated by Jaya Prakash over 1 year ago
- Status changed from Fix Under Review to Resolved
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 6a030faf34653e8fdce13f4dbf65b055618ab314
- Fixed In set to v20.3.0-1346-g6a030faf346
- Upkeep Timestamp set to 2025-07-10T06:13:16+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v20.3.0-1346-g6a030faf346 to v20.3.0-1346-g6a030faf34
- Upkeep Timestamp changed from 2025-07-10T06:13:16+00:00 to 2025-07-14T19:38:16+00:00
JP Updated by Jaya Prakash 8 months ago
- Related to Cleanup #75983: simplify discard queue health warning added
BH Updated by Brad Hubbard 4 months ago
- Status changed from Resolved to Pending Backport
- Backport set to tentacle
UB Updated by Upkeep Bot 4 months ago
- Copied to Backport #78909: tentacle: Notify with health warn if bdev discard queue gets too long. added
UB Updated by Upkeep Bot 4 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2025-07-14T19:38:16+00:00 to 2026-08-27T18:03:50+00:00
BH Updated by Brad Hubbard 3 months ago
- Backport changed from tentacle to tentacle, squid
BH Updated by Brad Hubbard 3 months ago
Let's try and get this in squid too if not too late.
BH Updated by Brad Hubbard 3 months ago
- Status changed from Backporting to Pending Backport
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #80344: squid: Notify with health warn if bdev discard queue gets too long. added
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Upkeep Timestamp changed from 2026-08-27T18:03:50+00:00 to 2026-09-08T00:47:07+00:00
UB Updated by Upkeep Bot about 1 month ago
- Status changed from Backporting to Resolved
- Upkeep Timestamp changed from 2026-09-08T00:47:07+00:00 to 2026-10-21T01:40:23+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~2585
- Upkeep Timestamp changed from 2026-10-21T01:40:23+00:00 to 2026-10-24T02:19:11+00:00
Actions