index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
target
/
target_core_sbc.c
Age
Commit message (
Expand
)
Author
Files
Lines
2023-04-11
scsi: target: Rename sbc_ops to exec_cmd_ops
Mike Christie
1
-6
/
+7
2022-11-24
scsi: target: core: Fix hard lockup when executing a compare-and-write command
Maurizio Lombardi
1
-6
/
+16
2022-10-22
scsi: target: Remove the unused function transport_lba_64_ext()
Jiapeng Chong
1
-8
/
+0
2022-08-04
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Linus Torvalds
1
-99
/
+0
2022-07-26
scsi: target: Remove XDWRITEREAD emulated support
Mike Christie
1
-99
/
+0
2022-07-07
scsi: target: Fix WRITE_SAME No Data Buffer crash
Mike Christie
1
-0
/
+6
2021-07-18
scsi: target: Fix protect handling in WRITE SAME(32)
Dmitry Bogdanov
1
-18
/
+17
2021-05-31
scsi: target: Use standard SAM status types
Hannes Reinecke
1
-5
/
+5
2021-03-09
scsi: target: core: Get rid of warning in compare_and_write_do_cmp()
Chaitanya Kulkarni
1
-2
/
+2
2020-11-04
scsi: target: Return COMPARE AND WRITE miscompare offsets
David Disseldorp
1
-10
/
+26
2020-11-04
scsi: target: Split out COMPARE AND WRITE memcmp into helper
David Disseldorp
1
-53
/
+68
2020-11-04
scsi: target: Rename cmd.bad_sector to cmd.sense_info
David Disseldorp
1
-1
/
+1
2020-08-23
treewide: Use fallthrough pseudo-keyword
Gustavo A. R. Silva
1
-1
/
+1
2019-05-30
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
Thomas Gleixner
1
-14
/
+1
2018-10-16
scsi: target/core: Always call transport_complete_callback() upon failure
Bart Van Assche
1
-1
/
+5
2018-10-16
scsi: target/core: Use sg_alloc_table() instead of open-coding it
Bart Van Assche
1
-6
/
+5
2018-10-16
scsi: target/core: Remove the SCF_COMPARE_AND_WRITE_POST flag
Bart Van Assche
1
-6
/
+0
2018-07-02
scsi: target: Use config_item_name() instead of open-coding it
Bart Van Assche
1
-3
/
+4
2018-01-12
target: don't call an unmap callback if a range length is zero
Andrei Vagin
1
-3
/
+5
2017-07-13
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...
Linus Torvalds
1
-44
/
+21
2017-07-06
target: Use {get,put}_unaligned_be*() instead of open coding these functions
Bart Van Assche
1
-44
/
+15
2017-07-06
target: reject COMPARE_AND_WRITE if emulate_caw is not set
Jiang Yi
1
-0
/
+6
2017-07-03
t10-pi: Move opencoded contants to common header
Dmitry Monakhov
1
-1
/
+1
2017-05-11
Revert "target: Fix VERIFY and WRITE VERIFY command parsing"
Nicholas Bellinger
1
-64
/
+10
2017-05-04
target: Fix compare_and_write_callback handling for non GOOD status
Nicholas Bellinger
1
-1
/
+4
2017-05-01
target: Add WRITE_VERIFY_16
Bryant G. Ly
1
-0
/
+2
2017-05-01
target: Use kmalloc_array() in compare_and_write_callback()
Markus Elfring
1
-2
/
+2
2017-05-01
target: Fix VERIFY and WRITE VERIFY command parsing
Bart Van Assche
1
-9
/
+62
2017-03-07
target: Fix VERIFY_16 handling in sbc_parse_cdb
Max Lohrmann
1
-2
/
+8
2017-02-09
target: Remove command flag CMD_T_BUSY
Bart Van Assche
1
-1
/
+1
2017-02-08
target: Fix COMPARE_AND_WRITE ref leak for non GOOD status
Nicholas Bellinger
1
-2
/
+6
2016-12-09
target: Minimize #include directives
Bart Van Assche
1
-0
/
+1
2016-07-20
target: Fix ordered task target_setup_cmd_from_cdb exception hang
Nicholas Bellinger
1
-1
/
+1
2016-01-20
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...
Linus Torvalds
1
-1
/
+9
2016-01-06
target/sbc: Add LBPRZ attribute + control CDB emulation
Jamie Pocas
1
-1
/
+9
2015-11-28
target: fix COMPARE_AND_WRITE non zero SGL offset data corruption
Jan Engelhardt
1
-2
/
+2
2015-11-28
target: Fix race for SCF_COMPARE_AND_WRITE_POST checking
Nicholas Bellinger
1
-4
/
+9
2015-07-31
target: check DPO/FUA usage for COMPARE AND WRITE
David Disseldorp
1
-0
/
+3
2015-07-30
target: add support for START_STOP_UNIT SCSI opcode
Brian Bunker
1
-0
/
+36
2015-07-06
target: Use struct t10_pi_tuple
Sagi Grimberg
1
-5
/
+5
2015-07-04
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...
Linus Torvalds
1
-156
/
+129
2015-06-23
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Linus Torvalds
1
-1
/
+1
2015-06-23
target: implement WRITE_SAME with UNMAP bit using ->execute_unmap
Christoph Hellwig
1
-2
/
+19
2015-06-23
target: simplify UNMAP handling
Christoph Hellwig
1
-8
/
+6
2015-06-23
target: replace se_cmd->execute_rw with a protocol_data field
Christoph Hellwig
1
-13
/
+7
2015-06-02
target: Minimize SCSI header #include directives
Bart Van Assche
1
-1
/
+1
2015-05-30
target: handle odd SG mapping for data transfer memory
Akinobu Mita
1
-39
/
+83
2015-05-30
target: Fix inconsistent address passed to kunmap_atomic() in sbc_dif_copy_pr...
Akinobu Mita
1
-2
/
+3
2015-05-30
target: fix DPO and FUA bit checks
Christoph Hellwig
1
-2
/
+3
2015-05-30
target/sbc: Fix sbc_dif_verify inconsistent map/unmap
Sagi Grimberg
1
-14
/
+14
2015-05-30
target: Merge sbc_verify_dif_read|write
Sagi Grimberg
1
-88
/
+6
2015-05-19
target: Drop signal_pending checks after interruptible lock acquire
Nicholas Bellinger
1
-1
/
+1
2015-04-24
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...
Linus Torvalds
1
-28
/
+81
2015-04-15
target/sbc: Update sbc_dif_generate pr_debug output
Nicholas Bellinger
1
-3
/
+5
2015-04-15
target/sbc: Make internal DIF emulation honor ->prot_checks
Nicholas Bellinger
1
-0
/
+7
2015-04-15
target/sbc: Return INVALID_CDB_FIELD if DIF + sess_prot_type disabled
Nicholas Bellinger
1
-1
/
+5
2015-04-14
target: Fix COMPARE_AND_WRITE with SG_TO_MEM_NOALLOC handling
Nicholas Bellinger
1
-5
/
+10
2015-04-07
target: Add internal WRITE_STRIP support
Nicholas Bellinger
1
-0
/
+3
2015-04-07
target: Update SPC/SBC emulation for sess_prot_type
Nicholas Bellinger
1
-2
/
+11
2015-04-07
target: Add protected fabric + unprotected device support
Nicholas Bellinger
1
-11
/
+33
2015-04-07
target: Convert DIF emulation to use cmd->prot_type
Nicholas Bellinger
1
-6
/
+7
2015-03-19
target: do not reject FUA CDBs when write cache is enabled but emulate_write_...
Christophe Vu-Brugier
1
-2
/
+1
2015-02-21
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...
Linus Torvalds
1
-30
/
+110
2015-02-14
target: Fail UNMAP when emulate_tpu=0
Nicholas Bellinger
1
-0
/
+5
2015-02-14
target: Fail WRITE_SAME w/ UNMAP=1 when emulate_tpws=0
Nicholas Bellinger
1
-0
/
+5
2015-02-14
target: Add sanity checks for DPO/FUA bit usage
Nicholas Bellinger
1
-10
/
+46
2015-02-14
target: Perform PROTECT sanity checks for WRITE_SAME
Nicholas Bellinger
1
-0
/
+8
2015-02-14
target: Fail I/O with PROTECT bit when protection is unsupported
Nicholas Bellinger
1
-19
/
+32
2015-02-14
target: Check for LBA + sectors wrap-around in sbc_parse_cdb
Nicholas Bellinger
1
-1
/
+2
2015-02-14
target: Add missing WRITE_SAME end-of-device sanity check
Nicholas Bellinger
1
-0
/
+12
2015-01-09
target: Drop arbitrary maximum I/O size limit
Nicholas Bellinger
1
-15
/
+0
2014-12-18
Merge remote-tracking branch 'scsi-queue/drivers-for-3.19' into for-linus
James Bottomley
1
-1
/
+1
2014-12-04
scsi: remove MSG_*_TAG defines
Christoph Hellwig
1
-1
/
+1
2014-11-24
scsi: rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16
Hannes Reinecke
1
-1
/
+1
2014-10-02
target: Remove unneeded check in sbc_parse_cdb
Andy Grover
1
-1
/
+1
2014-06-11
TARGET/sbc,loopback: Adjust command data length in case pi exists on the wire
Sagi Grimberg
1
-2
/
+13
2014-06-11
target: Report correct response length for some commands
Roland Dreier
1
-2
/
+2
2014-06-11
target/sbc: Check that the LBA and number of blocks are correct in VERIFY
Christophe Vu-Brugier
1
-1
/
+3
2014-06-11
target/sbc: Remove sbc_check_valid_sectors()
Christophe Vu-Brugier
1
-39
/
+6
2014-04-07
target/sbc: Add sbc_dif_read_strip software emulation
Nicholas Bellinger
1
-4
/
+27
2014-04-07
target/sbc: Add sbc_dif_generate software emulation
Nicholas Bellinger
1
-0
/
+44
2014-04-07
target/sbc: Only expose PI read_cap16 bits when supported by fabric
Nicholas Bellinger
1
-2
/
+5
2014-04-07
Target/sbc: Initialize COMPARE_AND_WRITE write_sg scatterlist
Martin Svec
1
-1
/
+2
2014-04-07
Target/sbc: add debug print
Sagi Grimberg
1
-0
/
+3
2014-04-07
Target/core: Remove prot_handover use for now
Sagi Grimberg
1
-1
/
+0
2014-04-07
Target/dif: Introduce protection-passthough-only mode
Sagi Grimberg
1
-1
/
+1
2014-03-13
Target/sbc: Set protection operation and relevant checks
Sagi Grimberg
1
-14
/
+73
2014-03-06
Target/sbc: Fix sbc_copy_prot for offset scatters
Sagi Grimberg
1
-16
/
+22
2014-02-23
Target/sbc: Don't use sg as iterator in sbc_verify_read
Sagi Grimberg
1
-5
/
+5
2014-02-23
target/sbc: Fix sbc_dif_copy_prot addr offset bug
Nicholas Bellinger
1
-3
/
+2
2014-02-12
Target/sbc: Fix protection copy routine
Sagi Grimberg
1
-0
/
+8
2014-01-25
target: Report bad sector in sense data for DIF errors
Sagi Grimberg
1
-0
/
+2
2014-01-18
target/sbc: Add P_TYPE + PROT_EN bits to READ_CAPACITY_16
Nicholas Bellinger
1
-0
/
+5
2014-01-18
target/sbc: Add DIF TYPE1+TYPE3 read/write verify emulation
Nicholas Bellinger
1
-0
/
+178
2014-01-18
target/sbc: Add DIF setup in sbc_check_prot + sbc_parse_cdb
Nicholas Bellinger
1
-0
/
+62
2014-01-09
target_core_alua: Referrals infrastructure
Hannes Reinecke
1
-1
/
+4
2013-11-22
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/...
Linus Torvalds
1
-1
/
+11
2013-11-12
target: Pass through I/O topology for block backstores
Andy Grover
1
-1
/
+11
2013-10-16
target: Return an error for WRITE SAME with ANCHOR==1
Roland Dreier
1
-0
/
+5
2013-10-03
target: Fail on non zero scsi_status in compare_and_write_callback
Nicholas Bellinger
1
-1
/
+10
2013-10-03
target: Fix recursive COMPARE_AND_WRITE callback failure
Nicholas Bellinger
1
-1
/
+10
2013-10-03
target: Reset data_length for COMPARE_AND_WRITE to NoLB * block_size
Nicholas Bellinger
1
-0
/
+6
2013-09-10
target: Update copyright ownership/year information to 2013
Nicholas Bellinger
1
-1
/
+1
2013-09-10
target: Release COMPARE_AND_WRITE mutex in generic failure path
Nicholas Bellinger
1
-0
/
+7
2013-09-10
target: Add compare_and_write_post() completion callback fall through
Nicholas Bellinger
1
-1
/
+2
2013-09-10
target: Add support for COMPARE_AND_WRITE emulation
Nicholas Bellinger
1
-1
/
+196
2013-09-09
target: Allow sbc_ops->execute_rw() to accept SGLs + data_direction
Nicholas Bellinger
1
-10
/
+27
2013-09-09
target: Add return for se_cmd->transport_complete_callback
Nicholas Bellinger
1
-5
/
+8
2013-07-07
target: Add (obsolete) checking for PMI/LBA fields in READ CAPACITY(10)
Roland Dreier
1
-0
/
+16
2013-07-07
target: Return correct sense data for IO past the end of a device
Roland Dreier
1
-1
/
+1
2013-04-25
target: Add sbc_execute_unmap() helper
Asias He
1
-0
/
+85
2013-03-18
target_core_sbc: use noop for SYNCHRONIZE_CACHE
Hannes Reinecke
1
-2
/
+5
2013-02-23
target: Rename spc_get_write_same_sectors -> sbc_get_write_same_sectors
Roland Dreier
1
-3
/
+3
2013-02-13
target: Fix sense data for out-of-bounds IO operations
Roland Dreier
1
-1
/
+1
2013-01-29
target: Fix zero-length READ_CAPACITY_16 regression
Nicholas Bellinger
1
-10
/
+8
2012-11-27
target: Make spc_get_write_same_sectors return sector_t
Nicholas Bellinger
1
-1
/
+1
2012-11-27
target: update error handling for sbc_setup_write_same()
Dan Carpenter
1
-3
/
+3
2012-11-27
target: Update copyright information to 2012
Nicholas Bellinger
1
-4
/
+1
2012-11-15
target: Add/check max_write_same_len device attribute + update block limits VPD
Nicholas Bellinger
1
-0
/
+7
2012-11-15
target/sbc: Seperate WRITE_SAME based on UNMAP flag in sbc_ops
Nicholas Bellinger
1
-28
/
+23
2012-11-07
target: Change sbc_emulate_noop to return sense_reason_t
Nicholas Bellinger
1
-8
/
+2
2012-11-06
target: pass sense_reason as a return value
Christoph Hellwig
1
-47
/
+40
2012-11-06
target: remove ->get_device_rev
Christoph Hellwig
1
-6
/
+0
2012-11-06
target: provide generic sbc device type/revision helpers
Christoph Hellwig
1
-0
/
+12
2012-11-06
target: rename spc_ops
Christoph Hellwig
1
-1
/
+1
2012-11-06
target: kill struct se_subsystem_dev
Christoph Hellwig
1
-16
/
+15
2012-10-26
target: reintroduce some obsolete SCSI-2 commands
Bernhard Kohl
1
-0
/
+18
2012-09-17
target: support zero allocation length in SBC commands
Paolo Bonzini
1
-8
/
+15
2012-07-16
target: move unmap to struct spc_ops
Christoph Hellwig
1
-58
/
+4
2012-07-16
target: move write_same to struct spc_ops
Christoph Hellwig
1
-34
/
+18
2012-07-16
target: move sync_cache to struct spc_ops
Christoph Hellwig
1
-14
/
+4
2012-07-16
target: add struct spc_ops + initial ->execute_rw pointer usage
Christoph Hellwig
1
-1
/
+11
2012-07-16
target: move code for CDB emulation
Christoph Hellwig
1
-19
/
+220
2012-07-16
target: add a parse_cdb method to the backend drivers
Christoph Hellwig
1
-0
/
+450