summaryrefslogtreecommitdiffstats
path: root/drivers/block/scsi_ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* [BLOCK] Move all core block layer code to new block/ directoryJens Axboe2005-11-041-589/+0
| | | | | | | | drivers/block/ is right now a mix of core and driver parts. Lets move the core parts to a new top level directory. Al will move the fs/ related block parts to block/ next. Signed-off-by: Jens Axboe <axboe@suse.de>
* [PATCH] scsi_ioctl: only warn for rejected commandsJens Axboe2005-10-081-4/+4
| | | | | | | | We should not be warning about commands that we allow, even if they are unknown. So move the if-root-allow check up a notch. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] scsi_ioctl: Add WRITE_LONG_2 as write safe commandThomas Maguin2005-09-171-0/+1
| | | | | | | | | | | Add WRITE_LONG_2 as write safe commands, which which allows normal users to make a c1-, c2- and cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers Signed-off-by: Jens Axboe <axboe@suse.de> Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [SCSI] permit READ DEFECT DATA in block/scsi_ioctlDouglas Gilbert2005-09-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The soon to be released smartmontools 5.34 uses the READ DEFECT DATA command on SCSI disks. A disk that has defect list entries (or worse, an increasing number of them) is at risk. Currently the first invocation of smartctl causes this: scsi: unknown opcode 0x37 message to appear the console and in the log. The READ DEFECT DATA SCSI command does not change the state of a disk. Its opcode (0x37) is valid for SBC devices (e.g. disks) and SMC-2 devices (media changers) where it is called INITIALIZE STATUS ELEMENT WITH RANGE and again doesn't change the external state of the device. Changelog: - mark SCSI opcode 0x37 (READ DEFECT DATA) as safe_for_read Signed-off-by: Douglas Gilbert <dougg@torque.net> Acked-by: Jens Axboe <axboe@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
* [PATCH] update blk_execute_rq to take an at_head parameterJames Bottomley2005-06-201-3/+3
| | | | | | | | | Original From: Mike Christie <michaelc@cs.wisc.edu> Modified to split out block changes (this patch) and SCSI pieces. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
* [PATCH] kill 'reading' variable in sg_io(), it isn't used anymore.Jens Axboe2005-06-201-5/+1
| | | | Signed-off-by: Jens Axboe <axboe@suse.de>
* [PATCH] The blk_rq_map_user() change missed an update in scsi_ioctl.cJames Bottomley2005-06-201-3/+2
| | | | Signed-off-by: Jens Axboe <axboe@suse.de>
* [PATCH] Add scatter-gather support for the block layer SG_IOJames Bottomley2005-06-201-11/+23
| | | | Signed-off-by: Jens Axboe <axboe@suse.de>
* [PATCH] Cleanup blk_rq_map_* interfacesJens Axboe2005-06-201-9/+14
| | | | | | | | | Change the blk_rq_map_user() and blk_rq_map_kern() interface to require a previously allocated request to be passed in. This is both more efficient for multiple iterations of mapping data to the same request, and it is also a much nicer API. Signed-off-by: Jens Axboe <axboe@suse.de>
* [PATCH] consolidate timeout defintions in scsi.h2005-04-181-5/+0
| | | | | | Adapted from a patch in SuSE's kernel SRPM. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+580
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
OpenPOWER on IntegriCloud