lkml.org 
[lkml]   [2017]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed
    From
    Date
    Dmitry Monakhov <dmonakhov@openvz.org> writes:

    > SCSI drivers do care about bip_seed so we must update it accordingly.

    > + bip->bip_iter.bi_sector += bytes_done >> 9;

    This needs to count protection intervals. Otherwise things will break
    for block sizes different from 512 bytes.

    --
    Martin K. Petersen Oracle Linux Engineering

    \
     
     \ /
      Last update: 2017-04-20 04:37    [W:4.057 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site