forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-4.7/core' into for-4.7/drivers
- Loading branch information
Showing
4 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,6 +141,15 @@ control of this block device to that new IO scheduler. Note that writing | |
an IO scheduler name to this file will attempt to load that IO scheduler | ||
module, if it isn't already present in the system. | ||
|
||
write_cache (RW) | ||
---------------- | ||
When read, this file will display whether the device has write back | ||
caching enabled or not. It will return "write back" for the former | ||
case, and "write through" for the latter. Writing to this file can | ||
change the kernels view of the device, but it doesn't alter the | ||
device state. This means that it might not be safe to toggle the | ||
setting from "write back" to "write through", since that will also | ||
eliminate cache flushes issued by the kernel. | ||
|
||
|
||
Jens Axboe <[email protected]>, February 2009 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters