An error occurred fetching the project authors.
- 21 Jan, 2005 1 commit
-
-
Thomas Gleixner authored
Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 08 Jan, 2005 1 commit
-
-
Andrew Morton authored
Rusty Russell <rusty@rustcorp.com.au> MODULE_PARM conversions for x86 `allmodconfig'. Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 27 Nov, 2004 1 commit
-
-
Alexander Viro authored
last callers of isa_check_signature() switched to ioremap() + check_signature() Signed-off-by:
Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 12 Jul, 2004 1 commit
-
-
Alexander Viro authored
-
- 03 Jun, 2004 1 commit
-
-
Alexander Viro authored
-
- 09 Sep, 2003 1 commit
-
-
Andrew Morton authored
From: Andrey Borzenkov <arvidjaar@mail.ru> Various block drivers are currently devfs-unaware. Andrey's patch attempts to give them reasonable representations in devfs. "The attached patch suggests some possible names for non-floppy devices based on reading driver source. I have to ask if these make sense. At least for cciss Mandrake devfsd patch expects different names but it seems to be mistake (it assumes single controller always) "For floppy it is not as simple. Floppy cannot use genhd and must create names manually; but I do not know what names are appropriate or expected. "For acsi the target/lun name may have problem of creating compat names (if any) by devfsd. "Please note that none of them created any devfs name under 2.4 as well. So it is not a regression ..."
-
- 03 Sep, 2003 1 commit
-
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Previously, default aliases were hardwired into modutils. Now they should be inside the modules, using MODULE_ALIAS() (they will be overridden by any user alias).
-
- 06 Aug, 2003 1 commit
-
-
Jens Axboe authored
To be able to properly be able to keep references to block queues, we make blk_init_queue() return the queue that it initialized, and let it be independently allocated and then cleaned up on the last reference. I have grepped high and low, and there really shouldn't be any broken uses of blk_init_queue() in the kernel drivers left. The added bonus being blk_init_queue() error checking is explicit now, most of the drivers were broken in this regard (even IDE/SCSI). No drivers have embedded request queue structures. Drivers that don't use blk_init_queue() but blk_queue_make_request(), should allocate the queue with blk_alloc_queue(gfp_mask). I've converted all of them to do that, too. They can call blk_cleanup_queue() now too, using the define blk_put_queue() is probably cleaner though.
-
- 17 Jul, 2003 1 commit
-
-
Adrian Bunk authored
This causes blk.h to print a warning and removes all uses of blk.h. I've tested the compilation in 2.6.0-test1 with a .config that tries to compile as many drivers as possible.
-
- 30 Apr, 2003 1 commit
-
-
Andrew Morton authored
Fix a few unused var warnings in drivers/block/xd.c
-
- 24 Apr, 2003 1 commit
-
-
Andrew Morton authored
Mop up various block and cdrom drivers. Also fix a bunch of warnings and compilation failures.
-
- 07 Apr, 2003 1 commit
-
-
Jens Axboe authored
This finally kills of blk_queue_empty(). This is similar to the patch I recently sent to fix the SCSI logic as well. A lot of drivers are doing this in our core, mainly because that is the way they always did it: start_queue: if (blk_queue_empty(q)) return; rq = elv_next_request(q); if (!rq) return; Patch simply removes the blk_queue_empty() check, and adds a check for !rq return from elv_next_request() if the driver didn't already do that. Additionally, the AS io scheduler can return NULL from elv_next_request() if it thinks this is best. This way we are also prepared for that to work well. Patch was done by Nick Piggin.
-
- 23 Mar, 2003 1 commit
-
-
Christoph Hellwig authored
All arguments except the name are unused - remove them and make the name printf-like to avoid a few snprintf in the surrounding code. (also fixes compilation to due a superflous endif in dvb core)
-
- 08 Mar, 2003 1 commit
-
-
Andrew Morton authored
Patch from Andries.Brouwer@cwi.nl The following patch does the following: - static const char *blkdevs[MAX_BLKDEV]; disappears - get_blkdev_list, (un)register_blkdev, __bdevname are moved from block_dev.c to genhd.c - the third "fops" parameter of register_blkdev was unused; now removed everywhere - zillions of places had printk("cannot get major") upon error return from register_blkdev; removed all of these and inserted a single printk in register_blkdev. Of course the reason for the patch is that one fixed size array is eliminated.
-
- 05 Dec, 2002 1 commit
-
-
Christoph Hellwig authored
In <= 2.4 some of the mess in blk.h needed it defined, but that's long gone now.
-
- 04 Dec, 2002 1 commit
-
-
Alexander Viro authored
switched to devfs_remove(), killed gratitious devfs_handle_t variable.
-
- 17 Nov, 2002 1 commit
-
-
Arnaldo Carvalho de Melo authored
request_irq/free_irq are now in linux/interrupt.h
-
- 28 Oct, 2002 1 commit
-
-
Alexander Viro authored
* switched to private queues * set ->queue and ->private_data * switched to use of ->bd_disk and ->rq_disk * cleaned up
-
- 18 Oct, 2002 1 commit
-
-
Frank Davis authored
This fixes a 'used but not declared' compile error
-
- 15 Oct, 2002 2 commits
-
-
Alexander Viro authored
Quite a few drivers don't need ->open() anymore - all it did was checking that minor is good (== gendisk exists). That is handled by generic code now...
-
Alexander Viro authored
allocation of ->part[] moved to alloc_disk(); alloc_disk() got an argument (number of minors expected). Freeing is in put_disk().
-
- 05 Oct, 2002 1 commit
-
-
Alexander Viro authored
-
- 30 Sep, 2002 1 commit
-
-
Alexander Viro authored
char *major_name replaced with char disk_name[16]; All uses of ->major_name replaced with those of ->disk_name and (obviously) simplified big way. Bunch of arrays, kmallocs, etc. is gone.
-
- 22 Sep, 2002 1 commit
-
-
Alexander Viro authored
it is an ex-parrot
-
- 21 Sep, 2002 1 commit
-
-
Alexander Viro authored
Almost all callers of add_gendisk() were immediately followed by register_disk(disk, mk_kdev(disk->major,disk->first_minor), 1<<disk->minor_shift, disk->fops, something); The only exception (DAC960.c) massaged to that form. New helper (add_disk(disk)) introduced and aforementioned sequence replaced with set_capacity(disk, something); add_disk(disk);
-
- 07 Sep, 2002 3 commits
-
-
Alexander Viro authored
* we remove the paritition 0 from ->part[] and put the old contents of ->part[0] into gendisk itself; indexes are shifted, obviously. * ->part is allocated at add_gendisk() time and freed at del_gendisk() according to value of ->minor_shift; static arrays of hd_struct are gone from drivers, ditto for manual allocations a-la ide. As the matter of fact, none of the drivers know about struct hd_struct now.
-
Alexander Viro authored
new helpers - get_capacity(gendisk)/set_capacity(gendisk, sectors). Drivers switched to these; that eliminates most of the accesses to disk->part[]... in the drivers (and makes code more readable, while we are at it). That had caught several bugs when minor had been used in place of minor>>minor_shift (acsi.c is especially nasty in that respect; I don't know if it had ever been used with multiple devices...)
-
Alexander Viro authored
Since ->nr_real is always 1 now, we can remove that field completely. Removed the last remnants of switch in disk_name() (it could be killed a long time ago, I just forgot to remove the last two cases when md and i2o got converted). Collapsed several instances of disk->part[minor - disk->first_minor] - in cases when we know that we deal with disk->part[0].
-
- 12 Aug, 2002 1 commit
-
-
Alexander Viro authored
Misc. compile fixes, xd.c switched to per-disk gendisks, Alan's 2.4 fixes for xd.c ported.
-
- 10 Aug, 2002 2 commits
-
-
Alexander Viro authored
Big One. Flushing/rereading partition tables is taken from ->revalidate() for partitioned devices; now it's done in the caller (check_disk_change()). BLKRRPART handling also moved out of drivers - they are still allowed to override it (DAC960 and i2o are the only remaining ones), but common case is handled in fs/block_dev.c. Note: we are still only shifting stuff - bd_sem deadlocks in check_disk_change() are still there. However, now we have all relevant code outside of drivers and that will allow to fix the thing (see next patches).
-
Alexander Viro authored
->major_name for per-disk gendisks set to full name - i.e. IDE gendisks have "hda", "hdb", etc. instead of "hd". As the result, we kill a lot of crap in check.c::disk_name(). In particular, now we can afford ->minor_shift set to 0 for ide-cd (disk_name() was the only obstacle)
-
- 01 Aug, 2002 1 commit
-
-
Alexander Viro authored
kills use of blk_size[] for partitioned devices, removes ->sizes from struct gendisk.
-
- 30 Jul, 2002 1 commit
-
-
Greg Kroah-Hartman authored
Use register_blkdev and unregister_blkdev as before, and everything will work just fine.
-
- 21 Jul, 2002 2 commits
-
-
Alexander Viro authored
blk_ioctl() not exported anymore; calls moved from drivers to block_dev.c.
-
Alexander Viro authored
Horrors with open/reread_partition exclusion are starting to get fixed. It's not the final variant, but at least we are getting the logics into one place; switch to final variant will happen once we get per-disk analog of gendisks. New fields - ->bd_part_sem and ->bd_part_count. The latter counts the amount of opened partitions. The former protects said count _and_ is held while we are rereading partition tables. Helpers - dev_part_lock()/dev_part_unlock() (currently taking kdev_t; that will change pretty soon). No more ->open() and ->release() for partitions, all that logics went to generic code. Lock hierachy is currently messy: ->bd_sem for partitions -> ->bd_part_sem -> ->bd_sem for entire disks Ugly, but that'll go away and to get the final variant of locking right now would take _really_ big patch - with a lot of steps glued together. The damn thing is large as it is...
-
- 11 Jun, 2002 4 commits
-
-
Alexander Viro authored
end_request(int) turned to end_request(req, int); all old callers are converted to end_request(CURRENT, value). Now we can start killing CURRENT/QUEUE - end_request() was the last obstacle to that.
-
Alexander Viro authored
ditto for DEVICE_INTR/CLEAR_INTR. do_mfm/do_acsi/do_hd/... are explicitly declared in the drivers that use DEVICE_INTR stuff; DEVICE_INTR/CLEAR_INTR is gone from blk.h.
-
Alexander Viro authored
#define DEVICE_NAME ... removed from the drivers that never use that macro.
-
Alexander Viro authored
monstrous cascade of #ifdefs is gone from blk.h. This is the first step of cleanup - we move #define in question into the code that includes blk.h (i.e. DEVICE_NR, DEVICE_NAME and DEVICE_INTR are explicitly set by drivers).
-
- 31 May, 2002 1 commit
-
-
Dave Jones authored
Wow, someone found some new devices for this beast..
-