Jens Axboe
b7c44ed9d2
block: manipulate bio->bi_flags through helpers
...
Some places use helpers now, others don't. We only have the 'is set'
helper, add helpers for setting and clearing flags too.
It was a bit of a mess of atomic vs non-atomic access. With
BIO_UPTODATE gone, we don't have any risk of concurrent access to the
flags. So relax the restriction and don't make any of them atomic. The
flags that do have serialization issues (reffed and chained), we
already handle those separately.
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-07-29 08:55:20 -06:00
..
2015-07-29 08:55:15 -06:00
2015-06-17 10:09:23 -04:00
2015-07-04 19:36:06 -07:00
2015-04-22 07:59:39 +10:00
2015-07-29 08:55:15 -06:00
2015-05-29 14:19:06 -04:00
2013-11-23 22:33:55 -08:00
2015-07-29 08:55:15 -06:00
2014-01-14 23:23:03 -05:00
2014-01-14 23:23:04 -05:00
2014-11-10 15:25:30 -05:00
2015-06-11 17:13:00 -04:00
2015-06-11 17:13:00 -04:00
2015-05-29 14:19:04 -04:00
2015-06-11 17:13:01 -04:00
2015-06-17 12:40:38 -04:00
2015-06-26 10:14:28 -04:00
2014-01-16 13:44:11 -05:00
2015-06-11 17:13:01 -04:00
2015-07-29 08:55:15 -06:00
2015-07-29 08:55:15 -06:00
2015-04-15 12:10:21 -04:00
2014-06-03 13:44:08 -04:00
2012-07-27 15:07:59 +01:00
2010-08-12 04:13:51 +01:00
2015-07-29 08:55:15 -06:00
2015-07-29 08:55:15 -06:00
2015-04-30 10:25:21 -04:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2015-04-15 12:10:20 -04:00
2015-04-15 12:10:20 -04:00
2009-09-04 20:40:34 +01:00
2015-07-29 08:55:15 -06:00
2012-07-30 17:25:16 -07:00
2015-05-27 17:37:22 -04:00
2008-10-10 13:36:58 +01:00
2011-10-31 19:31:18 -04:00
2009-06-22 10:12:27 +01:00
2012-03-28 18:41:26 +01:00
2015-07-29 08:55:15 -06:00
2015-05-29 14:19:00 -04:00
2013-11-23 22:33:47 -08:00
2012-03-28 18:41:26 +01:00
2012-03-28 18:41:26 +01:00
2015-02-09 13:06:49 -05:00
2011-10-31 19:31:19 -04:00
2015-07-29 08:55:15 -06:00
2015-06-17 12:40:41 -04:00
2015-06-17 12:40:40 -04:00
2015-07-29 08:55:15 -06:00
2014-08-01 12:30:37 -04:00
2015-04-15 12:10:17 -04:00
2015-06-26 10:11:58 -04:00
2015-02-09 13:06:47 -05:00
2015-06-11 17:13:06 -04:00
2015-06-11 17:13:04 -04:00
2015-07-29 08:55:15 -06:00
2011-10-31 19:31:19 -04:00
2007-10-20 02:01:26 +01:00
2015-07-29 08:55:15 -06:00
2015-07-29 08:55:15 -06:00
2015-07-29 08:55:15 -06:00
2015-06-26 12:35:01 -07:00
2015-07-29 08:55:15 -06:00
2015-06-11 17:12:59 -04:00
2015-07-29 08:55:15 -06:00
2011-10-11 16:48:54 +11:00
2015-06-11 17:12:59 -04:00
2015-04-22 07:59:39 +10:00
2015-04-22 07:59:39 +10:00
2015-07-29 08:55:15 -06:00
2015-06-02 08:33:34 -06:00
2015-07-29 08:55:15 -06:00
2011-10-11 16:48:57 +11:00
2015-07-29 08:55:15 -06:00
2012-03-19 12:46:39 +11:00
2015-07-29 08:55:20 -06:00
2015-02-04 08:35:52 +11:00
2015-07-29 08:55:20 -06:00
2015-06-17 10:00:27 +10:00
2015-07-29 08:55:20 -06:00
2015-02-04 08:35:52 +11:00