diff options
author | Jens Axboe <axboe@fb.com> | 2015-07-24 21:37:59 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-07-29 17:55:20 +0300 |
commit | b7c44ed9d2fc6b461378c65eaf144ccc80a47772 (patch) | |
tree | 2f38bdc1cf7ea6c924f6e1d52cf5913c370e08b6 /firmware | |
parent | 4246a0b63bd8f56a1469b12eafeb875b1041a451 (diff) | |
download | linux-b7c44ed9d2fc6b461378c65eaf144ccc80a47772.tar.xz |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions