1. Dec 12, 2009
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/viro/mmap · aad3bf04
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/viro/mmap:
        Add missing alignment check in arch/score sys_mmap()
        fix broken aliasing checks for MAP_FIXED on sparc32, mips, arm and sh
        Get rid of open-coding in ia64_brk()
        sparc_brk() is not needed anymore
        switch do_brk() to get_unmapped_area()
        Take arch_mmap_check() into get_unmapped_area()
        fix a struct file leak in do_mmap_pgoff()
        Unify sys_mmap*
        Cut hugetlb case early for 32bit on ia64
        arch_mmap_check() on mn10300
        Kill ancient crap in s390 compat mmap
        arm: add arch_mmap_check(), get rid of sys_arm_mremap()
        file ->get_unmapped_area() shouldn't duplicate work of get_unmapped_area()
        kill useless checks in sparc mremap variants
        fix pgoff in "have to relocate" case of mremap()
        fix the arch checks in MREMAP_FIXED case
        fix checks for expand-in-place mremap
        do_mremap() untangling, part 3
        do_mremap() untangling, part 2
        untangling do_mremap(), part 1
      aad3bf04
    • Linus Torvalds's avatar
      Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · 11bd04f6
      Linus Torvalds authored
      * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (109 commits)
        PCI: fix coding style issue in pci_save_state()
        PCI: add pci_request_acs
        PCI: fix BUG_ON triggered by logical PCIe root port removal
        PCI: remove ifdefed pci_cleanup_aer_correct_error_status
        PCI: unconditionally clear AER uncorr status register during cleanup
        x86/PCI: claim SR-IOV BARs in pcibios_allocate_resource
        PCI: portdrv: remove redundant definitions
        PCI: portdrv: remove unnecessary struct pcie_port_data
        PCI: portdrv: minor cleanup for pcie_port_device_register
        PCI: portdrv: add missing irq cleanup
        PCI: portdrv: enable device before irq initialization
        PCI: portdrv: cleanup service irqs initialization
        PCI: portdrv: check capabilities first
        PCI: portdrv: move PME capability check
        PCI: portdrv: remove redundant pcie type calculation
        PCI: portdrv: cleanup pcie_device registration
        PCI: portdrv: remove redundant pcie_port_device_probe
        PCI: Always set prefetchable base/limit upper32 registers
        PCI: read-modify-write the pcie device control register when initiating pcie flr
        PCI: show dma_mask bits in /sys
        ...
      
      Fixed up conflicts in:
      	arch/x86/kernel/amd_iommu_init.c
      	drivers/pci/dmar.c
      	drivers/pci/hotplug/acpiphp_glue.c
      11bd04f6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2 · 4e2ccdb0
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2: (49 commits)
        nilfs2: separate wait function from nilfs_segctor_write
        nilfs2: add iterator for segment buffers
        nilfs2: hide nilfs_write_info struct in segment buffer code
        nilfs2: relocate io status variables to segment buffer
        nilfs2: do not return io error for bio allocation failure
        nilfs2: use list_splice_tail or list_splice_tail_init
        nilfs2: replace mark_inode_dirty as nilfs_mark_inode_dirty
        nilfs2: delete mark_inode_dirty in nilfs_delete_entry
        nilfs2: delete mark_inode_dirty in nilfs_commit_chunk
        nilfs2: change return type of nilfs_commit_chunk
        nilfs2: split nilfs_unlink as nilfs_do_unlink and nilfs_unlink
        nilfs2: delete redundant mark_inode_dirty
        nilfs2: expand inode_inc_link_count and inode_dec_link_count
        nilfs2: delete mark_inode_dirty from nilfs_set_link
        nilfs2: delete mark_inode_dirty in nilfs_new_inode
        nilfs2: add norecovery mount option
        nilfs2: add helper to get if volume is in a valid state
        nilfs2: move recovery completion into load_nilfs function
        nilfs2: apply readahead for recovery on mount
        nilfs2: clean up get/put function of a segment usage
        ...
      4e2ccdb0
  2. Dec 11, 2009
  3. Dec 10, 2009
    • David Wong's avatar
      V4L/DVB (13592): max2165: 32bit build patch · 5476ffd2
      David Wong authored
      
      
      This patch drops usage of floating point variable for 32bit build
      
      Signed-off-by: default avatarDavid T. L. Wong <davidtlwong@gmail.com>
      Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      5476ffd2
    • Boaz Harrosh's avatar
      exofs: Multi-device mirror support · 04dc1e88
      Boaz Harrosh authored
      This patch changes on-disk format, it is accompanied with a parallel
      patch to mkfs.exofs that enables multi-device capabilities.
      
      After this patch, old exofs will refuse to mount a new formatted FS and
      new exofs will refuse an old format. This is done by moving the magic
      field offset inside the FSCB. A new FSCB *version* field was added. In
      the future, exofs will refuse to mount unmatched FSCB version. To
      up-grade or down-grade an exofs one must use mkfs.exofs --upgrade option
      before mounting.
      
      Introduced, a new object that contains a *device-table*. This object
      contains the default *data-map* and a linear array of devices
      information, which identifies the devices used in the filesystem. This
      object is only written to offline by mkfs.exofs. This is why it is kept
      separate from the FSCB, since the later is written to while mounted.
      
      Same partition number, same object number is used on all devices only
      the device varies.
      
      * define the new format, then load the device table...
      04dc1e88
    • Boaz Harrosh's avatar
      exofs: Move all operations to an io_engine · 06886a5a
      Boaz Harrosh authored
      In anticipation for multi-device operations, we separate osd operations
      into an abstract I/O API. Currently only one device is used but later
      when adding more devices, we will drive all devices in parallel according
      to a "data_map" that describes how data is arranged on multiple devices.
      The file system level operates, like before, as if there is one object
      (inode-number) and an i_size. The io engine will split this to the same
      object-number but on multiple device.
      
      At first we introduce Mirror (raid 1) layout. But at the final outcome
      we intend to fully implement the pNFS-Objects data-map, including
      raid 0,4,5,6 over mirrored devices, over multiple device-groups. And
      more. See: http://tools.ietf.org/html/draft-ietf-nfsv4-pnfs-obj-12
      
      
      
      * Define an io_state based API for accessing osd storage devices
        in an abstract way.
        Usage:
      	First a caller allocates an io state with:
      		exofs_get_io_state(struct exofs_sb_info *sbi,
      				   struct exofs_io_state** ios);
      
      	Then calles one of:
      		exofs_sbi_create(struct exofs_io_state *ios);
      		exofs_sbi_remove(struct exofs_io_state *ios);
      		exofs_sbi_write(struct exofs_io_state *ios);
      		exofs_sbi_read(struct exofs_io_state *ios);
      		exofs_oi_truncate(struct exofs_i_info *oi, u64 new_len);
      
      	And when done
      		exofs_put_io_state(struct exofs_io_state *ios);
      
      * Convert all source files to use this new API
      * Convert from bio_alloc to bio_kmalloc
      * In io engine we make use of the now fixed osd_req_decode_sense
      
      There are no functional changes or on disk additions after this patch.
      
      Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
      06886a5a
    • Boaz Harrosh's avatar
      exofs: move osd.c to ios.c · 8ce9bdd1
      Boaz Harrosh authored
      
      
      If I do a "git mv" together with a massive code change
      and commit in one patch, git looses the rename and
      records a delete/new instead. This is bad because I want
      a rename recorded so later rebased/cherry-picked patches
      to the old name will work. Also the --follow is lost.
      
      Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
      8ce9bdd1
    • Boaz Harrosh's avatar
      exofs: statfs blocks is sectors not FS blocks · cae012d8
      Boaz Harrosh authored
      
      
      Even though exofs has a 4k block size, statfs blocks
      is in sectors (512 bytes).
      
      Also if target returns 0 for capacity then make it
      ULLONG_MAX. df does not like zero-size filesystems
      
      Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
      cae012d8
    • Boaz Harrosh's avatar
      exofs: Prints on mount and unmout · 19fe294f
      Boaz Harrosh authored
      
      
      It is important to print in the logs when a filesystem was
      mounted and eventually unmounted.
      
      Print the osd-device's osd_name and pid the FS was
      mounted/unmounted on.
      
      TODO: How to also print the namespace path the filesystem was
            mounted on?
      
      Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
      19fe294f
    • Boaz Harrosh's avatar
      exofs: refactor exofs_i_info initialization into common helper · 9cfdc7aa
      Boaz Harrosh authored
      
      
      There are two places that initialize inodes: exofs_iget() and
      exofs_new_inode()
      
      As more members of exofs_i_info that need initialization are
      added this code will grow. (soon)
      
      Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
      9cfdc7aa