An error occurred fetching the project authors.
  1. 18 Oct, 2002 1 commit
  2. 15 Oct, 2002 3 commits
    • Alexander Viro's avatar
      [PATCH] bdev->bd_disk introduced · 5682bcc6
      Alexander Viro authored
      There we go - now we can put a reference to gendisk into block_device.  Which
      we do in do_open().  Most of the callers of get_gendisk() are simply using
      bdev->bd_disk now (and most of the put_disk() calls introduced on previous
      step disappear).  We also put that pointer into struct request - ->rq_disk.
      That allows to get rid of disk_index() kludges in md.c (we simply count
      relevant IO in the struct gendisk fields) and kill the export of get_gendisk().
      	Notice that by now we can move _all_ IO counters into gendisk.  That
      will kill a bunch of per-major arrays and more importantly, allow to merge
      sard in clean way.  FWIW, we probably could show them as disk/partitions
      attributes in driverfs...
      5682bcc6
    • Alexander Viro's avatar
      [PATCH] block ioctl cleanup · c6973580
      Alexander Viro authored
      	guts of blkpg.c and blkdev_ioctl() sanitized up and moved into a new
      file - drivers/block/ioctl.c.  blkpg.c is gone.
      c6973580
    • Alexander Viro's avatar
      [PATCH] early allocation of ->part · b8ed1788
      Alexander Viro authored
      allocation of ->part[] moved to alloc_disk(); alloc_disk() got an
      argument (number of minors expected).  Freeing is in put_disk().
      b8ed1788
  3. 08 Oct, 2002 1 commit
    • Alexander Viro's avatar
      [PATCH] compile fixes · 06792c13
      Alexander Viro authored
      cpqarray uses disk_alloc instead of alloc_disk.  Same typo is in cciss,
      rd.c sets ->first_minor to 0 for all units and HD_IRQ definition is
      needed if CONFIG_BLK_DEV_HD is defined.
      06792c13
  4. 06 Oct, 2002 1 commit
  5. 05 Oct, 2002 1 commit
  6. 03 Oct, 2002 1 commit
  7. 30 Sep, 2002 1 commit
    • Alexander Viro's avatar
      [PATCH] ->major_name inlined · db5605b2
      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.
      db5605b2
  8. 22 Sep, 2002 1 commit
  9. 21 Sep, 2002 1 commit
  10. 18 Sep, 2002 1 commit
    • Jens Axboe's avatar
      [PATCH] partial bio completion notification · 392aaa18
      Jens Axboe authored
      Make bio->bi_end_io() take bytes_done and actual error as argument. This
      enables partial completion of bio's, which is important for latency
      reasons (bio can be huge, for slow media we want page-by-page
      completions).
      
      I think I got most of the bi_end_io() functions out there, but I might
      have missed a few. For the record, if you don't care about partial
      completions and just want to be notified when the entire bio completes,
      add a
      
      	if (bio->bi_size)
      		return 1;
      
      to the top of your bi_end_io(). It should return 0 on completion.
      bio_endio() will decrement bio->bi_size appropriately, it's recommended
      for people to go through that. Otherwise they will have to control
      BIO_UPTODATE and bi_size decrement themselves, there's really no reason
      to do that. I've deliberately avoided doing any functional changes to
      any of the end_io functions, as I think that would only make the patch
      more complex. It's simple right now, but this being i/o paths I prefer
      (as usual) to be careful and take small steps. The mpage_end_io_read()
      do-vecs-at-the-time change can come right after this, for instance.
      392aaa18
  11. 08 Sep, 2002 1 commit
    • Andrew Morton's avatar
      [PATCH] Use kmap_atomic() for generic_file_write() · 86ee4c5d
      Andrew Morton authored
      This patch uses the atomic copy_from_user() facility in
      generic_file_write().
      
      This required a change in the prepare_write/commit_write API
      definition.  It is no longer the case that these functions will kmap
      the page for you.
      
      If any part of the kernel wants to get at the page in the write path,
      it now has to kmap it for itself.  The best way to do this is with
      kmap_atomic(KM_USER0).
      
      This patch updates all callers.  It also converts several places which
      were unnecessarily using kmap() over to using kmap_atomic().
      
      The reiserfs changes here are Oleg Drokin's revised version.
      
      The patch has been tested with loop, ext2, ext3, reiserfs, jfs,
      minixfs, vfat, iso9660, nfs and the ramdisk driver.
      
      I haven't fixed the racy deadlock avoidance thing in
      generic_file_write() - the case where we take a fault when the source
      and dest of the copy are both the same pagecache page.
      
      There is a printk in there now which will trigger if the page was
      unexpectedly not present.  And guess what?  I get 50-100 of them when
      running `dbench 64' on mem=48m.   This deadlock can happen.
      86ee4c5d
  12. 29 Jul, 2002 1 commit
    • Adam J. Richter's avatar
      [PATCH] fix do_open() interaction with rd.c · bac5bcac
      Adam J. Richter authored
      	linux-2.5.28/drivers/block_dev.c has a new do_open that broke
      initial ramdisk support, because it now requires devices that "manually"
      set bdev->bd_openers to set bdev->bd_inode->i_size as well.  The
      following single line patch, suggested by Russell King, fixes the
      problem.
      
      	There does not appear to be anyone acting as maintainer for
      rd.c, so I posted to lkml yesterday to ask if anyone objected to my
      submitting the patch to you, and I also emailed the message to Russell
      King and Al Viro.  Nobody has complained.  I have been running the
      patch for almost a day without problems.
      bac5bcac
  13. 21 Jul, 2002 1 commit
  14. 18 Jun, 2002 1 commit
    • Andrew Morton's avatar
      [PATCH] take bio.h out of highmem.h · a28b4d4e
      Andrew Morton authored
      highmem.h includes bio.h, so just about every compilation unit in the
      kernel gets to process bio.h.
      
      The patch moves the BIO-related functions out of highmem.h and into
      bio-related headers.  The nested include is removed and all files which
      need to include bio.h now do so.
      a28b4d4e
  15. 11 Jun, 2002 2 commits
    • Alexander Viro's avatar
      [PATCH] (12/14) resync · 9437b796
      Alexander Viro authored
      #define DEVICE_NAME ... removed from the drivers that never use
      that macro.
      9437b796
    • Alexander Viro's avatar
      [PATCH] (11/14) resync · 1b4199a5
      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).
      1b4199a5
  16. 04 Jun, 2002 1 commit
    • Russell King's avatar
      [PATCH] fix 2.5.20 ramdisk · 0f65c90d
      Russell King authored
      2.5.20 seems to be incapable of executing binaries in a ramdisk-based
      root filesystem.  The ramdisk in question is an ext2fs, with a 1K
      block size loaded via the compressed ramdisk loader in do_mounts().
      
      It appears that, in the case of a 1K block sized filesystem, we attempt
      to read two 512-byte sectors into a BIO vector.  The first one is copied
      into the first 512 bytes.  The second sector, however, is copied over
      the first 512 bytes.  Obviously not what we really want.
      
      Rev. 2, slightly cleaned up:
      0f65c90d
  17. 25 May, 2002 1 commit
  18. 23 May, 2002 1 commit
  19. 22 May, 2002 1 commit
    • Alexander Viro's avatar
      [PATCH] rd.c blocksize handling · d8479cd9
      Alexander Viro authored
      	Unlike other drivers, rd.c wants block size to be set once an
      forever (for everybody else setting block size as high as possible and
      letting filesystems change it with set_blocksize() is OK; rd.c treats
      invalidate_buffers() as "kill the ramdisk contents".
      d8479cd9
  20. 19 May, 2002 1 commit
  21. 01 May, 2002 1 commit
    • Alexander Viro's avatar
      [PATCH] (4/6) blksize_size[] removal · a9e3cad6
      Alexander Viro authored
       - put block size in bdev->bd_block_size, make do_open() and
         check_partition() to set it (see above), switch set_blocksize() and
         block_size() to use of ->bd_block_size.  Remove manipulations with
         blksize_size[] from drivers, remove blksize_size[] itself.
      a9e3cad6
  22. 30 Apr, 2002 1 commit
    • Andrew Morton's avatar
      [PATCH] cleanup page flags · aa78091f
      Andrew Morton authored
      page->flags cleanup.
      
      Moves the definitions of the page->flags bits and all the PageFoo
      macros into linux/page-flags.h.  That file is currently included from
      mm.h, but the stage is set to remove that and include page-flags.h
      direct in all .c files which require that.  (120 of them).
      
      The patch also makes all the page flag macros and functions consistent:
      
      For PG_foo, the following functions are defined:
      
      	SetPageFoo
      	ClearPageFoo
      	TestSetPageFoo
      	TestClearPageFoo
      	PageFoo
      
      and that's it.
      
      - Page_Uptodate is renamed to PageUptodate
      
      - LockPage is removed.  All users updated to use SetPageLocked
      
      - UnlockPage is removed.  All callers updated to use unlock_page().
        it's a real function - there's no need to hide that fact.
      
      - PageTestandClearReferenced renamed to TestClearPageReferenced
      
      - PageSetSlab renamed to SetPageSlab
      
      - __SetPageReserved is removed.  It's an infinitesimally small
         microoptimisation, and is inconsistent.
      
      - TryLockPage is renamed to TestSetPageLocked
      
      - PageSwapCache() is renamed to page_swap_cache(), so it doesn't
        pretend to be a page->flags bit test.
      aa78091f
  23. 25 Apr, 2002 1 commit
  24. 10 Apr, 2002 1 commit
    • Andrew Morton's avatar
      [PATCH] Velikov/Hellwig radix-tree pagecache · 3d30a6cc
      Andrew Morton authored
      Before the mempool was added, the VM was getting many, many
      0-order allocation failures due to the atomic ratnode
      allocations inside swap_out.  That monster mempool is
      doing its job - drove a 256meg machine a gigabyte into
      swap with no ratnode allocation failures at all.
      
      So we do need to trim that pool a bit, and also handle
      the case where swap_out fails, and not just keep
      pointlessly calling it.
      3d30a6cc
  25. 08 Apr, 2002 1 commit
    • Andries E. Brouwer's avatar
      [PATCH] size_in_bytes · 91fff028
      Andries E. Brouwer authored
      It is a step on the road to removal of the arrays.
      It also solves other things, like the fact that Linux
      is unable to read the last sector of a disk or partition
      with an odd number of sectors.
      91fff028
  26. 02 Apr, 2002 1 commit
  27. 05 Mar, 2002 1 commit
  28. 21 Feb, 2002 1 commit
  29. 05 Feb, 2002 9 commits
    • Linus Torvalds's avatar
      v2.5.1.7 -> v2.5.1.8 · 2161cc3b
      Linus Torvalds authored
      - Greg KH: USB updates
      - various: kdev_t updates
      - Al Viro: more bread()/filesystem cleanups
      2161cc3b
    • Linus Torvalds's avatar
      v2.5.1.6 -> v2.5.1.7 · 39769961
      Linus Torvalds authored
      - Jeff Garzik: fix up loop and md for struct kdev_t typechecking
      - Jeff Garzik: improved old-tulip network driver
      - Arnaldo: more scsi driver bio updates
      - Kai Germaschewski: ISDN updates
      - various: kdev_t updates
      39769961
    • Linus Torvalds's avatar
      v2.5.1 -> v2.5.1.1 · 0925bad3
      Linus Torvalds authored
      - me: revert the "kill(-1..)" change.  POSIX isn't that clear on the
      issue anyway, and the new behaviour breaks things.
      - Jens Axboe: more bio updates
      - Al Viro: rd_load cleanups. hpfs mount fix, mount cleanups
      - Ingo Molnar: more raid updates
      - Jakub Jelinek: fix Linux/x86 confusion about arg passing of "save_v86_state" and "do_signal"
      - Trond Myklebust: fix NFS client race conditions
      0925bad3
    • Linus Torvalds's avatar
      v2.5.0.10 -> v2.5.0.11 · fe097651
      Linus Torvalds authored
      - Jeff Garzik: no longer support old cards in tulip driver
      (see separate driver for old tulip chips)
      - Pat Mochel: driverfs/device model documentation
      - Ballabio Dario: update eata driver to new IO locking
      - Ingo Molnar: raid resync with new bio structures (much more efficient)
      and mempool_resize()
      - Jens Axboe: bio queue locking
      fe097651
    • Linus Torvalds's avatar
      v2.5.0.5 -> v2.5.0.6 · ef40d49b
      Linus Torvalds authored
      - Jens Axboe: more bio stuff
      - Coda compile fixes
      - Nathan Laredo: stradis driver update
      ef40d49b
    • Linus Torvalds's avatar
      v2.5.0.4 -> v2.5.0.5 · cc5979c3
      Linus Torvalds authored
      - Patrick Mochel: driver model infrastructure, part 1
      - Jens Axboe: more bio fixes, cleanups
      - Andrew Morton: release locking fixes
      - Al Viro: superblock/mount handling
      - Kai Germaschewski: AVM Fritz!Card ISDN driver
      - Christoph Hellwig: make cramfs SMP-safe.
      cc5979c3
    • Linus Torvalds's avatar
      v2.5.0.3 -> v2.5.0.4 · 40b1df3a
      Linus Torvalds authored
      - Jens Axboe: fix up bio highmem breakage, more cleanups
      - Greg KH: USB update
      40b1df3a
    • Linus Torvalds's avatar
      v2.5.0.2 -> v2.5.0.3 · 4d6c7b36
      Linus Torvalds authored
      - Al Viro: more superblock cleanups
      - Jens Axboe: more patches for new block IO layer
      - Christoph Hellwig: get rid of the old, long- deprecated SCSI error
      handling
      4d6c7b36
    • Linus Torvalds's avatar
      v2.5.0.1 -> v2.5.0.2 · e1e2cfc3
      Linus Torvalds authored
      - Greg KH: USB update
      - Richard Gooch: refcounting for devfs
      - Jens Axboe: start of new block IO layer
      e1e2cfc3