block: consistently use GFP_NOIO instead of __GFP_NORECLAIM

Same numerical value (for now at least), but a much better documentation
of intent.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cette révision appartient à :
Christoph Hellwig
2018-05-09 09:54:08 +02:00
révisé par Jens Axboe
Parent c3036021c7
révision 0eb0b63c1d
8 fichiers modifiés avec 16 ajouts et 15 suppressions

Voir le fichier

@@ -862,7 +862,7 @@ static int idetape_queue_rw_tail(ide_drive_t *drive, int cmd, int size)
if (size) {
ret = blk_rq_map_kern(drive->queue, rq, tape->buf, size,
__GFP_RECLAIM);
GFP_NOIO);
if (ret)
goto out_put;
}

Voir le fichier

@@ -442,7 +442,7 @@ int ide_raw_taskfile(ide_drive_t *drive, struct ide_cmd *cmd, u8 *buf,
*/
if (nsect) {
error = blk_rq_map_kern(drive->queue, rq, buf,
nsect * SECTOR_SIZE, __GFP_RECLAIM);
nsect * SECTOR_SIZE, GFP_NOIO);
if (error)
goto put_req;
}