Skip to content
Commit 08719dd9 authored by Dongli Zhang's avatar Dongli Zhang Committed by Jens Axboe
Browse files

xen/blkfront: fix comment for need_copy



The 'need_copy' is set when rq_data_dir(req) returns WRITE, in order to
copy the written data to persistent page.

".need_copy = rq_data_dir(req) && info->feature_persistent,"

Signed-off-by: default avatarDongli Zhang <dongli.zhang@oracle.com>
Fixes: c004a6fe

 ('block/xen-blkfront: Make it running on 64KB page granularity')
Acked-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220317220930.5698-1-dongli.zhang@oracle.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 93b4e747
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment