Jens Axboe
93e9d8e836
block: add ability to flag write back caching on a device
...
Add an internal helper and flag for setting whether a queue has
write back caching, or write through (or none). Add a sysfs file
to show this as well, and make it changeable from user space.
This will replace the (awkward) blk_queue_flush() interface that
drivers currently use to inform the block layer of write cache state
and capabilities.
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2016-04-12 15:46:27 -06:00
..
2016-04-07 21:13:02 +02:00
2015-12-24 07:22:32 -07:00
2015-10-26 15:25:53 +01:00
2016-03-20 15:08:45 -07:00
2016-02-26 15:14:27 +00:00
2014-09-26 11:02:55 +02:00
2015-05-07 09:35:14 -06:00
2016-04-12 15:46:27 -06:00
2016-03-14 09:06:01 -06:00
2016-03-18 20:25:49 -07:00
2015-04-14 16:49:00 -07:00
2016-02-18 20:31:53 +01:00
2016-02-06 15:33:11 +08:00
2014-10-28 09:06:11 -04:00
2016-03-10 17:12:08 -05:00
2016-04-05 07:45:29 -07:00
2016-01-06 15:17:47 +05:30
2016-03-21 13:48:00 -07:00
2016-03-19 16:31:54 -07:00
2016-01-25 12:01:08 -02:00
2015-12-03 11:49:23 -05:00
2015-08-07 15:05:01 -07:00
2016-03-17 20:03:47 -07:00
2016-04-04 10:41:08 -07:00
2015-10-07 18:07:20 +01:00
2016-02-25 16:01:51 +01:00
2015-04-10 22:22:56 +02:00
2016-03-08 18:40:49 -08:00
2016-02-10 13:12:14 -07:00
2015-02-13 17:15:44 +10:30
2015-12-03 18:19:28 +00:00
2016-03-10 20:37:50 -05:00
2015-10-27 18:55:31 -07:00
2016-03-10 16:02:52 +07:00
2016-03-05 15:00:38 -08:00
2016-02-10 13:14:37 -07:00
2015-10-08 15:36:16 +02:00
2014-12-10 17:41:10 -08:00
2016-02-17 14:10:39 -07:00
2015-06-08 16:42:07 -06:00
2016-01-04 09:57:31 +01:00
2015-11-03 16:10:43 -08:00
2016-03-17 13:47:50 -07:00
2014-08-26 09:35:53 +02:00
2016-02-22 14:46:24 -08:00
2015-10-26 16:00:09 +01:00
2015-11-17 17:05:14 -08:00
2016-03-24 14:51:24 -04:00
2015-06-08 23:15:45 +02:00
2014-12-08 12:56:06 +08:00
2015-11-12 09:55:23 -08:00
2015-08-05 13:43:45 -07:00
2015-04-18 11:10:49 -04:00
2015-08-07 14:34:58 +02:00
2016-04-05 03:46:59 +02:00
2016-03-09 23:39:56 +11:00
2015-07-14 12:35:42 -06:00
2016-02-17 14:09:43 -07:00
2016-03-17 12:09:35 -07:00
2016-03-22 15:36:02 -07:00
2015-12-05 12:34:32 -08:00
2015-11-27 09:24:12 +01:00
2015-05-19 08:39:21 +02:00
2016-02-23 21:27:02 -05:00
2015-12-20 15:27:13 +02:00
2016-01-27 15:01:44 -08:00
2016-02-10 09:25:15 +01:00
2015-11-30 12:14:12 +00:00
2016-03-18 19:26:54 -07:00
2016-03-10 21:49:09 -08:00
2016-03-09 10:51:41 -08:00
2016-03-17 12:09:35 -07:00
2015-12-06 12:56:10 +01:00
2016-03-05 12:05:01 -08:00
2015-06-22 16:04:57 -06:00
2016-03-03 09:03:48 -03:00
2016-03-16 09:55:35 -07:00
2016-03-17 15:09:34 -07:00
2015-10-05 04:47:09 +01:00
2016-03-19 19:35:51 -07:00
2016-03-29 10:45:04 +02:00
2016-02-17 14:08:07 -07:00
2014-12-29 15:28:24 -07:00
2015-08-13 17:54:06 -06:00
2014-09-26 11:10:11 +02:00
2015-09-13 10:35:46 +02:00
2014-10-14 02:18:16 +02:00
2015-02-10 14:30:31 -08:00
2016-03-21 10:05:13 -07:00
2015-11-05 15:59:24 -08:00
2015-07-27 18:12:01 -07:00
2015-02-27 11:44:24 -08:00
2016-01-25 12:36:28 -07:00
2015-12-10 11:35:30 -07:00
2015-05-27 15:22:15 +02:00
2015-06-22 10:14:05 -06:00
2016-01-20 17:09:18 -08:00
2016-01-11 18:29:00 -07:00
2016-02-11 15:33:38 +00:00
2016-03-21 09:26:45 +01:00
2015-11-11 10:08:07 -07:00
2015-11-26 14:46:06 +01:00
2015-12-14 15:24:03 +00:00
2015-11-13 09:19:05 -08:00
2015-01-19 12:05:32 +01:00
2015-02-17 14:34:54 -08:00
2016-03-09 15:30:03 -07:00
2015-09-21 22:00:41 +08:00
2015-05-02 09:54:30 +03:00
2016-01-29 12:32:12 +01:00
2015-11-16 06:28:43 -06:00
2015-10-13 19:01:25 +02:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2015-07-14 12:36:39 -06:00
2016-01-11 18:26:58 -07:00
2016-03-20 19:08:56 -07:00
2015-12-11 11:52:24 -08:00
2015-03-20 07:41:55 -06:00
2015-06-22 10:14:05 -06:00
2014-12-08 09:07:11 -05:00
2015-03-20 07:41:55 -06:00
2016-03-09 15:33:38 -07:00
2014-12-13 12:42:53 -08:00
2015-11-05 19:34:48 -08:00
2014-09-28 11:08:00 +02:00
2015-05-13 15:39:04 -04:00
2015-08-13 18:03:18 -06:00
2015-11-23 14:54:01 +00:00
2016-01-06 11:39:06 +11:00
2015-06-23 06:49:44 -06:00
2016-03-14 15:52:19 -07:00
2016-03-15 16:55:16 -07:00
2015-07-24 15:15:17 +02:00
2016-03-12 01:48:11 -07:00
2015-01-20 14:02:58 -07:00
2015-07-04 14:09:25 -04:00
2014-12-22 15:40:48 +01:00
2015-05-11 21:42:23 +05:30
2015-05-06 14:45:19 +02:00
2015-05-19 15:47:18 +02:00
2016-03-15 16:55:16 -07:00
2014-12-11 13:38:31 -08:00
2015-09-13 14:38:50 -06:00
2015-06-16 21:12:52 +03:00
2016-02-24 09:13:12 +01:00
2016-03-14 17:08:16 +01:00
2015-11-20 16:54:57 -07:00
2015-09-15 07:12:06 +02:00
2016-01-25 12:30:18 -07:00
2014-09-19 14:44:51 -07:00
2015-09-08 15:35:28 -07:00
2014-09-26 11:03:00 +02:00
2016-01-20 17:09:18 -08:00
2015-06-11 15:16:55 +10:00
2015-06-12 17:26:56 -07:00
2015-05-05 09:50:38 -04:00
2014-09-23 23:44:16 -07:00