All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Simlify dif_verify routines and fixup fileio protection information code.
@ 2015-04-13 17:19 Sagi Grimberg
  2015-04-13 17:19 ` [PATCH RFC 1/2] target: Merge sbc_verify_dif_read|write Sagi Grimberg
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Sagi Grimberg @ 2015-04-13 17:19 UTC (permalink / raw)
  To: Nicholas A. Bellinger, Akinobu Mita
  Cc: target-devel, linux-scsi, Martin K. Petersen, Christoph Hellwig

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.

This passed minimal IO testing.

Sagi Grimberg (2):
  target: Merge sbc_verify_dif_read|write
  target/file: Remove fd_prot bounce buffer

 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       |   94 ++--------------------
 drivers/target/target_core_transport.c |   17 ++--
 include/target/target_core_backend.h   |    8 +-
 6 files changed, 62 insertions(+), 223 deletions(-)

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-04-16 16:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13 17:19 [RFC] Simlify dif_verify routines and fixup fileio protection information code Sagi Grimberg
2015-04-13 17:19 ` [PATCH RFC 1/2] target: Merge sbc_verify_dif_read|write Sagi Grimberg
2015-04-13 17:19 ` [PATCH RFC 2/2] target/file: Remove fd_prot bounce buffer Sagi Grimberg
2015-04-14  1:23 ` [RFC] Simlify dif_verify routines and fixup fileio protection information code Martin K. Petersen
2015-04-14 12:17 ` Akinobu Mita
2015-04-14 17:20   ` Sagi Grimberg
2015-04-14 23:52     ` Akinobu Mita
2015-04-15 10:07       ` Sagi Grimberg
2015-04-15 14:16         ` Akinobu Mita
2015-04-15 14:33           ` Sagi Grimberg
2015-04-15 15:05             ` Martin K. Petersen
2015-04-15 15:08             ` Sagi Grimberg
2015-04-15 16:10               ` Martin K. Petersen
2015-04-16  8:52                 ` Sagi Grimberg
2015-04-16 13:46                   ` Akinobu Mita
2015-04-16 15:30                     ` Martin K. Petersen
2015-04-16 15:58                     ` Sagi Grimberg
2015-04-16 16:04                       ` Sagi Grimberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.