1. 28 6月, 2010 4 次提交
    • L
      Merge branch 'for-linus' of git://neil.brown.name/md · 93416253
      Linus Torvalds 提交于
      * 'for-linus' of git://neil.brown.name/md:
        md/raid5: don't include 'spare' drives when reshaping to fewer devices.
        md/raid5: add a missing 'continue' in a loop.
        md/raid5: Allow recovered part of partially recovered devices to be in-sync
        md/raid5: More careful check for "has array failed".
        md: Don't update ->recovery_offset when reshaping an array to fewer devices.
        md/raid5: avoid oops when number of devices is reduced then increased.
        md: enable raid4->raid0 takeover
        md: clear layout after ->raid0 takeover
        md: fix raid10 takeover: use new_layout for setup_conf
        md: fix handling of array level takeover that re-arranges devices.
        md: raid10: Fix null pointer dereference in fix_read_error()
        Restore partition detection of newly created md arrays.
      93416253
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu · b4322e70
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu:
        percpu: fix first chunk match in per_cpu_ptr_to_phys()
        percpu: fix trivial bugs in pcpu_build_alloc_info()
      b4322e70
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 31cafd95
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (52 commits)
        phylib: Add autoload support for the LXT973 phy.
        ISDN: hysdn, fix potential NULL dereference
        vxge: fix memory leak in vxge_alloc_msix() error path
        isdn/gigaset: correct CAPI connection state storage
        isdn/gigaset: encode HLC and BC together
        isdn/gigaset: correct CAPI DATA_B3 Delivery Confirmation
        isdn/gigaset: correct CAPI voice connection encoding
        isdn/gigaset: honor CAPI application's buffer size request
        cpmac: do not leak struct net_device on phy_connect errors
        smc91c92_cs: fix the problem that lan & modem does not work simultaneously
        ipv6: fix NULL reference in proxy neighbor discovery
        Bluetooth: Bring back var 'i' increment
        xfrm: check bundle policy existance before dereferencing it
        sky2: enable rx/tx in sky2_phy_reinit()
        cnic: Disable statistics initialization for eth clients that do not support statistics
        net: add dependency on fw class module to qlcnic and netxen_nic
        snmp: fix SNMP_ADD_STATS()
        hso: remove setting of low_latency flag
        udp: Fix bogus UFO packet generation
        lasi82596: fix netdev_mc_count conversion
        ...
      31cafd95
    • L
      Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · e7865c23
      Linus Torvalds 提交于
      * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
        NFSv4: Fix an embarassing typo in encode_attrs()
        NFSv4: Ensure that /proc/self/mountinfo displays the minor version number
        NFSv4.1: Ensure that we initialise the session when following a referral
        SUNRPC: Fix a re-entrancy bug in xs_tcp_read_calldir()
        nfs4 use mandatory attribute file type in nfs4_get_root
      e7865c23
  2. 27 6月, 2010 21 次提交
  3. 26 6月, 2010 8 次提交
  4. 25 6月, 2010 5 次提交
  5. 24 6月, 2010 2 次提交
    • N
      md/raid5: don't include 'spare' drives when reshaping to fewer devices. · 3424bf6a
      NeilBrown 提交于
      There are few situations where it would make any sense to add a spare
      when reducing the number of devices in an array, but it is
      conceivable:  A 6 drive RAID6 with two missing devices could be
      reshaped to a 5 drive RAID6, and a spare could become available
      just in time for the reshape, but not early enough to have been
      recovered first.  'freezing' recovery can make this easy to
      do without any races.
      
      However doing such a thing is a bad idea.  md will not record the
      partially-recovered state of the 'spare' and when the reshape
      finished it will think that the spare is still spare.
      Easiest way to avoid this confusion is to simply disallow it.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      3424bf6a
    • N
      md/raid5: add a missing 'continue' in a loop. · 2f115882
      NeilBrown 提交于
      As the comment says, the tail of this loop only applies to devices
      that are not fully in sync, so if In_sync was set, we should avoid
      the rest of the loop.
      
      This bug will hardly ever cause an actual problem.  The worst it
      can do is allow an array to be assembled that is dirty and degraded,
      which is not generally a good idea (without warning the sysadmin
      first).
      
      This will only happen if the array is RAID4 or a RAID5/6 in an
      intermediate state during a reshape and so has one drive that is
      all 'parity' - no data - while some other device has failed.
      
      This is certainly possible, but not at all common.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      2f115882