Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsUsually, yes: disabling Linux’s write-cache flushes or filesystem barriers is too risky for a system with important data unless you have verified power-loss protection across the entire storage path. The similarly named option of disabling a drive’s write-back cache is different: it can improve safety against loss of data held in volatile drive memory, usually at a performance cost.
First identify which cache or safeguard you mean. Linux RAM caching, a drive’s cache, a RAID controller’s cache and filesystem flushes are separate parts of the storage path—and changing one does not automatically change the others.
What “write cache” and “flushing” mean
A write travels through several layers before it is safely stored. Each layer may acknowledge or temporarily hold data, so a successful write at one layer does not necessarily mean the data has reached nonvolatile media.
Application or database buffers
↓
Linux page cache and filesystem journal
↓
Kernel block layer
↓
RAID/controller, hypervisor or storage array cache
↓
Drive firmware cache
↓
Nonvolatile media
Linux’s page cache
Linux uses system RAM to cache file data and schedule writes. An ordinary write() can return after the kernel accepts data, before it has reached the device. Applications that need a durable file update use synchronization operations such as fsync() or fdatasync().
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
fsync() asks the storage stack to write modified file data and associated metadata and waits for the device to report completion. It may also result in a device-cache flush when supported. It cannot make defective hardware honor a flush or guarantee persistence if a controller or device falsely reports completion. See the fsync(2) documentation.
Device and controller write-back caches
Drives and controllers can use volatile memory to acknowledge writes before data reaches nonvolatile media. Write-back caching can improve performance, but the pending data is vulnerable if power or the storage path fails before it is committed. A write-through configuration avoids relying on volatile device cache for completed writes, generally trading performance for greater protection against that particular failure.
Flush, FUA and filesystem barriers
A flush tells the storage path to make earlier writes persistent before the system proceeds. Linux’s block layer uses mechanisms including preflush requests; FUA means Force Unit Access and requests that a particular write be made durable before completion, bypassing volatile cache or otherwise reaching persistence as required by the device. The kernel’s flush and FUA mechanisms are described in its write-back cache control documentation.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
A filesystem barrier is an ordering and durability safeguard around important operations such as journal commits. Modern Linux storage stacks commonly implement the relevant ordering through flushes and/or FUA. Filesystem options and defaults vary with filesystem and kernel version, so old advice to add nobarrier is not a universal current tuning instruction. Red Hat describes the relationship between barriers and cache flushes in its storage administration guide.
Two opposite changes that are often confused
| Change | What it does | Typical trade-off |
|---|---|---|
| Disable the drive’s write-back cache | Where supported, changes the device toward write-through behavior so writes are not left solely in volatile drive cache. | Generally improves protection from loss of data in that cache, but may reduce performance, particularly for synchronous writes. |
| Disable Linux flushes or filesystem barriers | Removes or weakens requests that make writes durable and preserve ordering across critical operations. | Can make synchronous-write benchmarks faster, but risks losing acknowledged data or corrupting filesystem or application state after a failure. |
| Use protected write-back caching with normal flushes | Allows a documented, healthy power-loss-protected device or controller cache to preserve acknowledged writes across an interruption. | Can combine performance with durability when the complete storage path honors flushes and FUA and its protection is healthy. |
| Tell the kernel the cache is write-through without changing hardware | Changes the kernel’s view, not the physical device’s cache state. | Can suppress needed flushes while the hardware remains write-back, making the resulting behavior unsafe or unknown. |
The distinction between the kernel’s view and the device’s actual state is explicit in the kernel block queue sysfs documentation. Setting a software flag is not proof that hardware changed its cache policy.
What can go wrong if flushes are disabled
The failure is conditional, not inevitable: it requires pending writes and an interruption or another failure before those writes become persistent. But the affected data may be more important than the file currently being copied.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
- A database may acknowledge a transaction whose commit record was still in volatile cache.
- A filesystem journal may be reordered relative to file data or metadata, leaving a filesystem that needs recovery or, in the worst case, is corrupted.
- A kernel panic, controller reset, failed power supply, unplugged cable or abrupt power loss may discard writes already reported as complete by a volatile cache.
- A device or bridge that ignores flush commands may leave the operating system believing data is durable when it is not.
Filesystem journaling helps restore structural consistency; it does not recreate an application transaction that never reached persistent storage. A filesystem can mount and appear healthy after recovery while recent file updates or database transactions are missing.
Inspect the relevant settings before changing anything
Device names and available controls depend on the storage hardware and driver. Confirm the target carefully: a command aimed at the wrong disk can change the wrong device. Inspect first, and do not assume ATA/SATA controls apply to NVMe, USB bridges or a RAID logical volume.
Check an ATA/SATA device’s write-cache setting
sudo hdparm -W /dev/sdX
Replace /dev/sdX with the verified device. The hdparm manual documents -W as getting or setting the device’s write-caching feature. Support and output vary; this is not a universal NVMe cache-control command.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Inspect the kernel’s block-layer view
cat /sys/block/sdX/queue/write_cache
cat /sys/block/sdX/queue/fua
write_cache reports whether the kernel considers the device write-back or write-through; fua indicates whether the block driver supports FUA. These files describe the kernel/driver view, not a guaranteed hardware setting. In particular, writing a different value to write_cache changes the kernel’s view and may remove flushes the kernel would otherwise issue. Do not use it to “fix” an unexplained mismatch. See the kernel ABI documentation.
Understand the similarly named hdparm options
sudo hdparm -F /dev/sdX
-F asks a supported device to flush its on-drive cache; it does not disable flushing. The -W option changes the ATA/SATA device write-cache feature where supported. For example, sudo hdparm -W0 /dev/sdX disables that feature and sudo hdparm -W1 /dev/sdX enables it. These commands do not disable filesystem barriers, and they may not persist across reboot. Confirm device behavior and use distribution- or hardware-specific configuration when persistence is needed. Refer to the hdparm manual.
The shell command sync asks Linux to synchronize pending filesystem writes, but it does not repair hardware that ignores flushes or make an unsafe controller trustworthy. Applications still need appropriate synchronization calls for their own durability requirements.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
When can write-back caching be reasonable?
Write-back caching can be a sound performance choice when every relevant cache has genuine, documented power-loss protection and the layers correctly honor durability requests. The usual safe design is to retain filesystem barriers and flushes so the protected device or controller can satisfy them—not to turn off the requests.
Protected RAID or storage-controller cache
A battery-backed or flash-backed controller cache may preserve acknowledged writes across a host power interruption. Before relying on it, verify that the controller actually has protected write-back cache, the battery or supercapacitor is healthy, the controller falls back safely to write-through if protection fails, and the controller and drives honor flushes and FUA. Red Hat’s storage administration guide discusses battery-backed cache as a hardware-specific case; support for a feature is not evidence that protection is currently healthy.
Enterprise SSDs, hypervisors, SANs and cloud storage
An SSD is not automatically power-loss protected: firmware queues, mapping metadata and volatile buffers still matter, and behavior varies by model. Likewise, a guest operating system cannot prove that its virtual disk’s flushes are durable. The hypervisor, host filesystem, controller, SAN or cloud storage layer may translate or handle them according to its own guarantees. Check the platform’s documentation for the complete path rather than assuming a guest-level setting controls physical media.
Benchmarks and disposable scratch storage
A workload with explicitly disposable data can justify experiments that would be inappropriate for valuable data. A benchmark that omits abrupt power-loss testing measures neither durability nor recovery behavior. Throughput, application commit latency, filesystem consistency and persistence after power removal are different outcomes.
Free tools Windows power users keep installed
One-click scans. No signup required.
Common assumptions that do not establish safety
- “It is journaled.” Journaling depends on ordering and durability behavior; it cannot reliably protect against hardware that ignores flushes.
- “It is an SSD.” Flash storage alone does not prove that all acknowledged data and metadata survive power loss.
- “There is a UPS.” A UPS reduces the risk of a utility outage but cannot prevent every power-supply fault, reset, cable removal, firmware failure or host crash.
- “The cache is small” or “we rarely reboot.” Neither statement establishes whether pending writes exist when an unexpected failure occurs.
- “A benchmark is faster.” The gain may come from skipping the wait for durability, rather than making the underlying storage faster.
A practical decision checklist
- Does the data matter? If losing recent writes or recovering a filesystem is unacceptable, keep normal flush and barrier behavior.
- Which control are you changing? Separate application synchronization, filesystem options, drive cache, controller policy and the kernel’s sysfs view.
- Is power-loss protection documented for every cache in the path? Do not infer it from “SSD,” “RAID,” “UPS” or a cache setting’s name.
- Is that protection healthy and monitored? A failed battery or supercapacitor can change the safety of a controller’s write-back policy.
- Does the complete path honor flushes and FUA? Consider drive, bridge, controller, hypervisor and storage array behavior.
- Has recovery been tested under realistic failure conditions? A clean shutdown or ordinary reboot does not test abrupt power-loss behavior.
- Are independent backups available? Cache protection is not a substitute for recoverable backups.
For ordinary desktops, workstations, NAS systems, database hosts and virtualization servers, keep filesystem flushes and barriers enabled and do not manually alter the kernel’s cache declaration. If safety matters more than performance, disabling a supported device write cache may be appropriate after measuring its cost on the actual workload. If both speed and durability matter, use documented, healthy power-loss-protected storage and preserve normal durability requests.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

