On 1/9/20 1:56 AM, Ming Lei wrote: > Commit 85a8ce62c2ea ("block: add bio_truncate to fix guard_bio_eod") adds > bio_truncate() which changes to zero the truncated pages for any bio which > direction is READ. This way may change the behavior of guard_bio_eod(), so > change back to orginal behavior of just zeroing bio of REQ_OP_READ. > > Meantime add kerneldoc for bio_truncate() as suggested by Christoph. I'm going to fold this with the previous. Applied, thanks. -- Jens Axboe