- 18 Feb, 2009 1 commit
-
-
Jens Axboe authored
We can't OR shift values, so get rid of BIO_RW_SYNC and use BIO_RW_SYNCIO and BIO_RW_UNPLUG explicitly. This brings back the behaviour from before 213d9417 . Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 30 Jan, 2009 1 commit
-
-
Jaswinder Singh Rajput authored
fix the following 'make headers_check' warning: usr/include/linux/blktrace_api.h:96: found __[us]{8,16,32,64} type without #include <linux/types.h> Signed-off-by:
Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
-
- 26 Jan, 2009 1 commit
-
-
Arnaldo Carvalho de Melo authored
Also make sure sparse (make C=2 block/blktrace.o) is happy too. Reported-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
-
- 26 Nov, 2008 1 commit
-
-
Arnaldo Carvalho de Melo authored
This was a forward port of work done by Mathieu Desnoyers, I changed it to encode the 'what' parameter on the tracepoint name, so that one can register interest in specific events and not on classes of events to then check the 'what' parameter. Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
-
- 17 Oct, 2008 1 commit
-
-
Stefan Raspl authored
This patch adds the new api call blk_add_driver_data() to blktrace. It allows to trace device driver-specific binary data. Signed-off-by:
Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by:
Martin Peschke <mp3@de.ibm.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 09 Oct, 2008 4 commits
-
-
Jens Axboe authored
Define as 32, which is is what BDEVNAME_SIZE is/was as well. This keeps the user interface the same and gets rid of the difference between kernel and user api here. Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
Sven Schuetz authored
This header file is of interest for user space programming, i.e. for tools that process blktrace data. We would like to use it for a tool on-top of blktrace which processes data provided by blktrace. For this purpose, it would be helpful if the blktrace API would make it to /usr/include/linux. The git tree for the blktrace tools comes with its own copy of this header file. I didn't manage to replace that copy with the file generated by the patch below yet. A few more cleanups would be needed. For example, the blktrace ioctl numbers, which are currently defined in usr/include/fs.h, might need to be moved. Should be feasible, though. Signed-off-by:
Sven Schuetz <sven@linux.vnet.ibm.com> Signed-off-by:
Martin Peschke <mp3@de.ibm.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
Mike Anderson authored
Signed-off-by:
Mike Anderson <andmike@linux.vnet.ibm.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
David Woodhouse authored
Signed-off-by:
David Woodhouse <David.Woodhouse@intel.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 03 Jul, 2008 1 commit
-
-
Alan D. Brunelle authored
This allows a user to annotate the blk trace stream: writing a suitable message to {/sys/kernel/debug}/block/<dsf>/msg will have it propagated into the trace stream. Signed-off-by:
Alan D. Brunelle <alan.brunelle@hp.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 28 May, 2008 2 commits
-
-
Jens Axboe authored
Currently it uses a single static char array, but that risks being corrupted when multiple users issue message notes at the same time. Make the buffers dynamically allocated when the trace is setup and make them per-cpu instead. The default max message size of 1k is also very large, the interface is mainly for small text notes. So shrink it to 128 bytes. Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
Alan D. Brunelle authored
Allows messages to be inserted into blktrace streams. Signed-off-by:
Alan D. Brunelle <alan.brunelle@hp.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 29 Jan, 2008 1 commit
-
-
Martin K. Petersen authored
request_queue_t is deprecated Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 28 Jan, 2008 1 commit
-
-
Christof Schmitt authored
Since the SCSI layer uses the request queues from the block layer, blktrace can also be used to trace the requests to all SCSI devices (like SCSI tape drives), not only disks. The only missing part is the ioctl interface to start and stop tracing. This patch adds the SETUP, START, STOP and TEARDOWN ioctls from blktrace to the sg device files. With this change, blktrace can be used for SCSI devices like for disks, e.g.: blktrace -d /dev/sg1 -o - | blkparse -i - Signed-off-by:
Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 12 Oct, 2007 1 commit
-
-
Jens Axboe authored
We don't have the request queue definition, so just make it a macro instead. Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 11 Oct, 2007 1 commit
-
-
Boaz Harrosh authored
I get a compilation error in sglist-arch branch with BLK_DEV_IO_TRACE=n: CC block/compat_ioctl.o /usr0/export/dev/bharrosh/git/pub/linux-2.6-block/block/compat_ioctl.c: In function ?compat_blk_trace_setup?: /usr0/export/dev/bharrosh/git/pub/linux-2.6-block/block/compat_ioctl.c:568: error: expected expression before ?do? make[2]: *** [block/compat_ioctl.o] Error 1 Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 10 Oct, 2007 1 commit
-
-
Arnd Bergmann authored
blk_trace_setup is broken on x86_64 compat systems, this makes the code work correctly on all 64 bit architectures in compat mode. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 11 Aug, 2007 1 commit
-
-
Alan D. Brunelle authored
This patch provides more information concerning REMAP operations on block IOs. The additional information provides clearer details at the user level, and supports post-processing analysis in btt. o Adds in partition remaps on the same device. o Fixed up the remap information in DM to be in the right order o Sent up mapped-from and mapped-to device information Signed-off-by:
Alan D. Brunelle <alan.brunelle@hp.com> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 24 Jul, 2007 1 commit
-
-
Jens Axboe authored
Some of the code has been gradually transitioned to using the proper struct request_queue, but there's lots left. So do a full sweet of the kernel and get rid of this typedef and replace its uses with the proper type. Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 01 Dec, 2006 1 commit
-
-
Olaf Kirch authored
This adds a new timestamp message to blktrace, giving the timeofday when we starting tracing. This helps user space correlate block trace events with eg an application strace. This requires a (compatible) update to blkparse. The changed blkparse is still able to process traces generated by older kernels, and older versions of blkparse should silently ignore the new records (because they have a pid of 0). Signed-off-by:
Olaf Kirch <okir@suse.de> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
-
- 30 Sep, 2006 2 commits
-
-
Jens Axboe authored
Signed-off-by:
Jens Axboe <axboe@suse.de>
-
Jens Axboe authored
Right now ->flags is a bit of a mess: some are request types, and others are just modifiers. Clean this up by splitting it into ->cmd_type and ->cmd_flags. This allows introduction of generic Linux block message types, useful for sending generic Linux commands to block devices. Signed-off-by:
Jens Axboe <axboe@suse.de>
-
- 06 Jul, 2006 3 commits
-
-
Jens Axboe authored
Not three, as assumed. This causes the barrier bit to be needlessly set for some IO. Signed-off-by:
Jens Axboe <axboe@suse.de>
-
Nathan Scott authored
Provide the needed kernel support for distinguishing readahead from regular read requests when tracing block devices. Signed-off-by:
Nathan Scott <nathans@sgi.com> Signed-off-by:
Jens Axboe <axboe@suse.de>
-
Nathan Scott authored
Signed-off-by:
Nathan Scott <nathans@sgi.com> Signed-off-by:
Jens Axboe <axboe@suse.de>
-
- 23 Jun, 2006 1 commit
-
-
Alexey Dobriyan authored
Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Jens Axboe <axboe@suse.de>
-
- 26 Apr, 2006 1 commit
-
-
David Woodhouse authored
Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 23 Mar, 2006 1 commit
-
-
Jens Axboe authored
Signed-off-by:
Jens Axboe <axboe@suse.de>
-