An error occurred fetching the project authors.
- 15 Oct, 2004 1 commit
-
-
James Bottomley authored
We can't support them, but the system should disable them cleanly and continue when they're detected (at the moment it dumps a stack trace). The fix (hack) is to set them to zero size and 512 byte sectors. This means they're still amenable to ioctls (like to reformat them with a useful block size) but cannot be read from or written to. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 20 Jun, 2004 1 commit
-
-
Christoph Hellwig authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 03 Jun, 2004 1 commit
-
-
Arjan van de Ven authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 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.
-
- 27 Oct, 2002 2 commits
-
-
Christoph Hellwig authored
On Mon, Oct 28, 2002 at 01:50:53AM +0100, Andries Brouwer wrote: > On Sun, Oct 27, 2002 at 06:05:07PM -0600, James Bottomley wrote: > > > If the return type will be ignored by most applications, I don't see > > what the problem is. > > There is no problem. My longish reaction was mostly because you used > "future proofing", that gave the impression that you did not know > what this is about. > > > (like an obviously wrong truncation) > > No, the code I wrote was optimal. > If you have 16 bits and the value is 70000, I prefer returning > 65535 over 4464. Why didn't you write is as patch? James, this in Andries code in patch from, it get's rid of the ugly sector_div so it should be in if not just because of that.
-
Christoph Hellwig authored
sector_div has the same slightly strange calling convention do_div has: it's return value is the modulo of the two operators, the division result is in the first parameter. Also optimize one of the expensive 64bit division away (okay, okay - it's not exactly an fast-path :))
-
- 25 Oct, 2002 2 commits
-
-
James Bottomley authored
Thanks to Patrick Mansfield for pointing this out.
-
Christoph Hellwig authored
Currnetly the ->bios_param for host drivers exposes struct scsi_disk (aka Scsi_Disk or Disk) to each and every lowlevel driver, although this structure should be privated to the sd driver. All bios_param implementation do only use two fields: .device and .capacity. This patch passes down those two directly and gets rid of 99% of the sd.h inclusions (*). I've tried to not break any driver with this patch, but given the number of compiler errors in the current tree I might have missed one or two. (*) a bunch of drivers needed sd.h to get to scsi.h, I've fixed those.
-
- 21 Jul, 2002 1 commit
-
-
Alexander Viro authored
->bios_param() switched from kdev_t to struct block_device *. Caller and all instances updated.
-
- 23 May, 2002 1 commit
-
-
Christoph Hellwig authored
Include buffer_head.h directly in the file in drivers/ that need it (9 files). Note that most of this uses are layering violations that I will address later.
-
- 01 May, 2002 1 commit
-
-
Alexander Viro authored
- switch block_size() to struct block_device *.
-
- 15 Apr, 2002 1 commit
-
-
Douglas Gilbert authored
- allow detection of pre-existing disk geometry
-
- 05 Feb, 2002 5 commits
-
-
Linus Torvalds authored
- Matt Domsch: combine common crc32 library - Pete Zaitcev: ymfpci update - Davide Libenzi: scheduler improvements - Al Viro: almost there: "struct block_device *" everywhere - Richard Gooch: devfs cpqarray update, race fix - Rusty Russell: PATH_MAX should include the final '0' count - David Miller: various random updates (mainly net and sparc)
-
Linus Torvalds authored
- Kai Germaschewski: ISDN updates - Al Viro: start moving buffer cache indexing to "struct block_device *" - Greg KH: USB update - Russell King: fix up some ARM merge issues - Ingo Molnar: scalable scheduler
-
Linus Torvalds authored
- Davide Libenzi: nicer timeslices for scheduler - Arnaldo: wd7000 scsi driver cleanups and bio update - Greg KH: USB update (including initial 2.0 support) - me: strict typechecking on "kdev_t"
-
Linus Torvalds authored
- Christoph Hellwig: scsi_register_module cleanup - Mikael Pettersson: apic.c LVTERR fixes - Russell King: ARM update (including bio update for icside) - Jens Axboe: more bio updates - Al Viro: make ready to switch bread away from kdev_t.. - Davide Libenzi: scheduler cleanups - Anders Gustafsson: LVM fixes for bio - Richard Gooch: devfs update
-
Linus Torvalds authored
-