03 Feb, 2015
2 commits
-
Using seq_putc to print a single character saves at least a strlen()
call and a memory access, and may also give a small .text reduction.Signed-off-by: Rasmus Villemoes
Reviewed-by: Finn Thain
Signed-off-by: Christoph Hellwig -
Using seq_printf to print a simple string is a lot more expensive than
it needs to be, since seq_puts exists. Replace seq_printf with
seq_puts when possible.Signed-off-by: Rasmus Villemoes
Reviewed-by: Finn Thain
Signed-off-by: Christoph Hellwig
25 Nov, 2014
1 commit
-
SPC-3 defines SERVICE ACTION IN(12) and SERVICE ACTION IN(16).
So rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16 to be
consistent with SPC and to allow for better distinction.Signed-off-by: Hannes Reinecke
Tested-by: Robert Elliott
Reviewed-by: Robert Elliott
Signed-off-by: Christoph Hellwig
01 Jul, 2014
1 commit
-
There's several locations in the kernel that open code the calculation
of the next location in the trace_seq buffer. This is usually done withp->buffer + p->len
Instead of having this open coded, supply a helper function in the
header to do it for them. This function is called trace_seq_buffer_ptr().Link: http://lkml.kernel.org/p/20140626220129.452783019@goodmis.org
Acked-by: Paolo Bonzini
Signed-off-by: Steven Rostedt
25 May, 2011
1 commit
-
As of SBC3r26 WRITE SAME(10) supports the UNMAP bit.
Signed-off-by: Martin K. Petersen
Signed-off-by: James Bottomley
01 May, 2010
2 commits
-
Various SCSI trace enhancements:
- Display data and protection information scatterlist lengths in the
trace output- Add support for VERIFY and WRITE SAME commands and decode the UNMAP
bit if applicable- Add decoding of the PROTECT field for READ/VERIFY/WRITE/WRITE SAME
commands as well as the EXPECTED INITIAL REFERENCE TAG field for
their 32-byte variants- Decode READ CAPACITY(16), GET LBA STATUS, and UNMAP
Signed-off-by: Martin K. Petersen
Signed-off-by: James Bottomley -
Signed-off-by: Xiao Guangrong
Signed-off-by: Tomohiro Kusumi
Signed-off-by: Kei Tokunaga
Signed-off-by: James Bottomley