• J
    block: manipulate bio->bi_flags through helpers · b7c44ed9
    Jens Axboe 提交于
    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: NJens Axboe <axboe@fb.com>
    b7c44ed9
bounce.c 6.3 KB