Re: [PATCH] block: get rid of blk_integrity_revalidate()

2017-04-21 Thread Jens Axboe
On 04/18/2017 10:43 AM, Ilya Dryomov wrote: > Commit 25520d55cdb6 ("block: Inline blk_integrity in struct gendisk") > introduced blk_integrity_revalidate(), which seems to assume ownership > of the stable pages flag and unilaterally clears it if no blk_integrity > profile is registered: > > if

Re: [PATCH] block: get rid of blk_integrity_revalidate()

2017-04-21 Thread Dan Williams
On Wed, Apr 19, 2017 at 7:04 PM, Martin K. Petersen wrote: > Ilya Dryomov writes: > > Ilya, > >> Commit 25520d55cdb6 ("block: Inline blk_integrity in struct gendisk") >> introduced blk_integrity_revalidate(), which seems to assume ownership >> of the stable pages flag and unilaterally clears it i

Re: [PATCH] block: get rid of blk_integrity_revalidate()

2017-04-19 Thread Martin K. Petersen
Ilya Dryomov writes: Ilya, > Commit 25520d55cdb6 ("block: Inline blk_integrity in struct gendisk") > introduced blk_integrity_revalidate(), which seems to assume ownership > of the stable pages flag and unilaterally clears it if no blk_integrity > profile is registered: > > if (bi->profile)

[PATCH] block: get rid of blk_integrity_revalidate()

2017-04-18 Thread Ilya Dryomov
Commit 25520d55cdb6 ("block: Inline blk_integrity in struct gendisk") introduced blk_integrity_revalidate(), which seems to assume ownership of the stable pages flag and unilaterally clears it if no blk_integrity profile is registered: if (bi->profile) disk->queue->backing_dev_info