Mike Christie
c8d93247f1
bcache: use op_is_write instead of checking for REQ_WRITE
...
We currently set REQ_WRITE/WRITE for all non READ IOs
like discard, flush, writesame, etc. In the next patches where we
no longer set up the op as a bitmap, we will not be able to
detect a operation direction like writesame by testing if REQ_WRITE is
set.
This has bcache use the op_is_write helper which will do the right
thing.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-06-07 13:41:38 -06:00
..
2016-06-07 13:41:38 -06:00
2015-12-14 09:26:01 -05:00
2016-06-07 13:41:38 -06:00
2016-05-04 12:39:35 -07:00
2015-07-29 08:55:15 -06:00
2015-05-29 14:19:06 -04:00
2016-06-07 13:41:38 -06:00
2016-04-17 11:24:46 -04:00
2016-03-10 17:12:12 -05:00
2015-11-04 21:19:53 -08:00
2015-06-11 17:13:01 -04:00
2016-03-10 17:12:11 -05:00
2015-06-11 17:13:01 -04:00
2016-03-10 17:12:12 -05:00
2016-03-17 11:22:54 -07:00
2016-02-22 22:34:37 -05:00
2015-10-31 19:06:02 -04:00
2015-11-04 21:19:53 -08:00
2016-01-08 20:03:05 -05:00
2016-02-22 22:34:37 -05:00
2016-06-07 13:41:38 -06:00
2016-05-05 15:25:55 -04:00
2016-06-07 13:41:38 -06:00
2015-10-31 19:06:03 -04:00
2015-10-31 19:06:00 -04:00
2015-04-15 12:10:20 -04:00
2016-06-07 13:41:38 -06:00
2016-05-05 15:25:52 -04:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:37 -05:00
2016-05-13 09:03:51 -04:00
2015-10-31 19:06:01 -04:00
2016-02-22 22:34:42 -05:00
2016-02-22 22:34:42 -05:00
2016-01-08 20:03:05 -05:00
2016-01-08 20:03:05 -05:00
2016-03-10 17:12:09 -05:00
2015-08-18 17:20:03 -04:00
2015-06-17 12:40:40 -04:00
2015-09-02 16:35:26 -07:00
2015-10-31 19:06:06 -04:00
2015-04-15 12:10:17 -04:00
2016-04-13 13:33:19 -06:00
2016-02-22 11:06:21 -05:00
2016-03-10 17:12:09 -05:00
2015-06-11 17:13:04 -04:00
2016-06-07 13:41:38 -06:00
2016-02-22 22:34:37 -05:00
2015-12-10 10:39:03 -05:00
2016-02-22 22:34:37 -05:00
2015-12-10 10:39:03 -05:00
2015-07-29 08:55:15 -06:00
2016-05-05 15:25:49 -04:00
2016-02-22 22:34:37 -05:00
2016-01-20 13:52:20 -08:00
2016-03-10 17:12:11 -05:00
2015-08-13 12:31:57 -06:00
2016-03-10 17:12:08 -05:00
2016-05-09 09:24:04 -07:00
2016-05-09 09:24:03 -07:00
2016-06-07 13:41:38 -06:00
2016-01-15 12:28:00 -08:00
2016-03-14 11:32:26 -07:00
2016-04-25 08:43:58 -07:00
2015-08-13 12:31:57 -06:00
2016-06-07 13:41:38 -06:00
2015-10-12 01:32:05 -05:00
2016-06-07 13:41:38 -06:00
2016-05-09 09:24:02 -07:00
2016-02-26 09:44:56 -08:00
2016-06-07 13:41:38 -06:00
2015-08-31 19:43:45 +02:00