Re: [v1] Simlify dif_verify routines and fixup fileio protection information code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sagi,

Just getting back to post -rc1 items..

On Sun, 2015-04-19 at 20:27 +0300, Sagi Grimberg wrote:
> Hey All,
> 
> This set follows the patchset from Akinobu Mita that addresses
> DIF bounce buffer sgl construction. Instead of trying to fix these
> bugs, this removes it altogether and work with cmd->t_prot_sg
> directly.
> 
> The first patch is a simplification of the DIF verify varius
> routines leaving a single generic sbc_dif_verify that handles
> the protection information sgl we are working on.
> 
> The second patch uses this simplification to remove the local
> prot_fd bounce buffer altogether.
> 
> Changes from v0:
> - Added a third patch to fix map/unmap consistency in sbc_dif_verify.
> 
> Sagi Grimberg (3):
>   target: Merge sbc_verify_dif_read|write
>   target/file: Remove fd_prot bounce buffer
>   target/sbc: Fix sbc_dif_verify inconsistent map/unmap
> 
>  drivers/target/target_core_file.c      |  140 +++++++-------------------------
>  drivers/target/target_core_file.h      |    6 --
>  drivers/target/target_core_rd.c        |   20 +++--
>  drivers/target/target_core_sbc.c       |  118 ++++-----------------------
>  drivers/target/target_core_transport.c |   17 ++--
>  include/target/target_core_backend.h   |    8 +-
>  6 files changed, 74 insertions(+), 235 deletions(-)
> 

FYI, this series didn't apply cleanly due to upstream commit c8367778.
Fixed that up.

Applied to for-next for now, unless there is a good reason to push as
v4.1 target fixes instead.

Thanks Sagi + Akinobu!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux