1. 09 Oct, 2002 6 commits
    • Andrew Morton's avatar
      [PATCH] 64-bit sector_t - filesystems · 763fb9a3
      Andrew Morton authored
      From Peter Chubb
      
      Filesystem migration to possibly 64-bit sector_t:
       - bmap() now takes and returns a sector_t to allow filesystems
         (e.g., JFS, XFS) that are 64-bit clean to deal with large files
       - buffer handling now 64-bit clean
      
      Enable 64-bit sector_t on IA32 and PPC.
      
      kiobufs takes sector_t array, not array of long.
      Fix blkmtd.c to deal in such an array.
      
      Miscellaneous fixes for 64-bit sector_t.
       	 - missed printk formats
      	 - ide_floppy_do_request had incorrect signature
      	 - in blkmtd.c there was a pointer used to
      	   manipulate an array to be used by kiobuf --
       	   it was unsigned long, needed to be sector_t
      763fb9a3
    • Andrew Morton's avatar
      [PATCH] 64-bit sector_t - driver changes · 6179fd18
      Andrew Morton authored
      From Peter Chubb
      
      Compaq Smart array sector_t cleanup: prepare for possible 64-bit sector_t
      
      Clean up loop device to allow huge backing files.
      
      MD transition to 64-bit sector_t.
       - Hold sizes and offsets as sector_t not int;
       - use 64-bit arithmetic if necessary to map block-in-raid to zone
         and block-in-zone
      6179fd18
    • Andrew Morton's avatar
      [PATCH] 64-bit sector_t - printk changes and sector_t cleanup · be48ef9e
      Andrew Morton authored
      From Peter Chubb
      
      printk changes: A sector_t can be either 64 or 32 bits, so cast it to a
      printable type that is at least as large as 64-bits on all platforms
      (i.e., cast to unsigned long long and use a %llu format)
      
      Transition to 64-bit sector_t: fix isofs_get_blocks by converting the
      (possibly 64-bit) arg to a long.
      
      SCSI 64-bit sector_t cleanup: capacity now stored as sector_t; make
      sure that the READ_CAPACITY command doesn't sign-extend its returned
      value; avoid 64-bit division when printing size in MB.
      
      Still to do:
       - 16-byte SCSI commands
       - Individual scsi drivers.
      be48ef9e
    • Andrew Morton's avatar
      [PATCH] 64-bit sector_t - various driver changes · 9f2f568c
      Andrew Morton authored
      peter's code works for me, and the 40-odd people who download
      the -mm patches.  Anton has tested it on ppc64 and I presume that
      Peter has tested it on ia64.  I use gcc-2.91.66 and others use
      later compilers.  I expect that any remaining problems will
      mainly be caught by the compiler.  And compiler bugs can be
      detected by turning off the option in config and seeing if things
      get better.
      
      From Peter Chubb
      
       - do_request() function takes sector_t not unsigned long as the
         block number to operate on.
       - Various casts to long where the underlying device can never get
         big enough to warrant a 64-bit sector offset.
       - Cast sector_t to unsigned long long when printing.
      9f2f568c
    • Patrick Mochel's avatar
      7eb32c6d
    • Patrick Mochel's avatar
      Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin · d745be1e
      Patrick Mochel authored
      into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
      d745be1e
  2. 08 Oct, 2002 34 commits