SShortSingh.
Back to feed

Draining bcache dirty data faster by setting writeback_percent to zero

0
·3 views

Before reboots, kernel upgrades, or removing an SSD, admins want dirty data flushed from a bcache writeback cache to its backing disk. Switching to writethrough mode does not flush existing dirty data, which keeps draining through the background writeback thread at a rate limited by the controller. That controller targets a dirty-data level derived from writeback_percent, so with little dirty data its rate can fall to a floor of about 4 KiB per second. Setting writeback_percent to 0 removes that target and lets the drain run at full speed, which the author reports cleared 950 MiB across three devices in about 20 seconds. The article also notes that an idle cache set or a crowded cache can raise the rate, so the writeback_rate_debug file should be checked to see the current rate and targets.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

FAA Orders Nationwide Ground Stop Citing "Extraordinary Circumstances"

The Federal Aviation Administration has issued a nationwide ground stop for flights, according to a report from Axios. The agency cited "extraordinary circumstances" as the reason for the halt. The available source material does not specify the exact nature of those circumstances or how long the stop will last. Further details on the scope and impact on air travel have not been confirmed in the information provided.

0
ProgrammingHacker News ·

FAA Ground Stop Reported at All US Airports, Per Flight-Tracking Service

Flightradar24 posted on X that all airports across the United States are currently under a ground stop, halting departures. The source material is a social media post linked from Hacker News, which carries only the headline and minimal context. The post does not specify the cause of the stop, such as a technical outage, weather, or security concern. Details on duration and when flights may resume were not provided in the available information. Readers should consult official FAA statements for confirmed cause and timing.

0
ProgrammingHacker News ·

FAA Issues National Ground Stop Affecting U.S. Air Traffic

The Federal Aviation Administration has issued a national ground stop, according to an advisory posted on its official advisory system. The notice was published on the FAA's advisory page with the date 11/13/2026. The available source material does not specify the cause of the stop or its expected duration. It was shared on Hacker News, where it drew substantial attention from readers.

0
ProgrammingDEV Community ·

How to Build a Website with Claude: Three Methods Compared

A new guide explains that building a website with Claude can take three distinct approaches, which most tutorials fail to distinguish. The first uses Artifacts, which render live previews inside the chat on any plan, making them suited to mockups and single-page sites but not to fully hosted sites with domains, databases, or forms. The second relies on Claude Code, an agentic coding tool that edits real project files, giving developers full control but requiring them to handle hosting, deployment, and infrastructure. The guide also presents a third path that connects an app platform such as Floot to Claude to produce a live, published website, which it presents as the best fit for many non-developers. Paid plans are recommended for larger sites, since the free tier has tight usage limits.