1. 10 Feb, 2008 2 commits
    • Jeff Layton's avatar
      NLM: have server-side RPC clients default to soft RPC tasks · 90bd17c8
      Jeff Layton authored
      Now that it no longer does an RPC ping, lockd always ends up queueing
      an RPC task for the GRANT_MSG callback. But, it also requeues the block
      for later attempts. Since these are hard RPC tasks, if the client we're
      calling back goes unresponsive the GRANT_MSG callbacks can stack up in
      the RPC queue.
      
      Fix this by making server-side RPC clients default to soft RPC tasks.
      lockd requeues the block anyway, so this should be OK.
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      90bd17c8
    • Jeff Layton's avatar
      NLM: set RPC_CLNT_CREATE_NOPING for NLM RPC clients · 031fd3aa
      Jeff Layton authored
      It's currently possible for an unresponsive NLM client to completely
      lock up a server's lockd. The scenario is something like this:
      
      1) client1 (or a process on the server) takes a lock on a file
      2) client2 tries to take a blocking lock on the same file and
         awaits the callback
      3) client2 goes unresponsive (plug pulled, network partition, etc)
      4) client1 releases the lock
      
      ...at that point the server's lockd will try to queue up a GRANT_MSG
      callback for client2, but first it requeues the block with a timeout of
      30s. nlm_async_call will attempt to bind the RPC client to client2 and
      will call rpc_ping. rpc_ping entails a sync RPC call and if client2 is
      unresponsive it will take around 60s for that to time out. Once it times
      out, it's already time to retry the block and the whole process repeats.
      
      Once in this situation, nlmsvc_retry_blocked will never return until
      the host starts responding again. lockd won't service new calls.
      
      Fix this by skipping the RPC ping on NLM RPC clients. This makes
      nlm_async_call return quickly when called.
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      031fd3aa
  2. 06 Feb, 2008 31 commits
  3. 05 Feb, 2008 7 commits
    • Andrew Morton's avatar
      deprecate smbfs in favour of cifs · c7736339
      Andrew Morton authored
      smbfs is a bit buggy and has no maintainer.  Change it to shout at the user on
      the first five mount attempts - tell them to switch to CIFS.
      
      Come December we'll mark it BROKEN and see what happens.
      
      [olecom@flower.upol.cz: documentation update]
      Cc: Urban Widmark <urban@teststation.com>
      Acked-by: default avatarSteven French <sfrench@us.ibm.com>
      Signed-off-by: default avatarOleg Verych <olecom@flower.upol.cz>
      Cc: Jeff Layton <jlayton@redhat.com>
      Cc: Adrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c7736339
    • Andrew Morton's avatar
      timerfd: fix remaining architectures · 9692bd9c
      Andrew Morton authored
      Cc: David Howells <dhowells@redhat.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
      Cc: Richard Curnow <rc@rc0.org.uk>
      Cc: Davide Libenzi <davidel@xmailserver.org>
      Cc: Michael Kerrisk <mtk-manpages@gmx.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9692bd9c
    • Haavard Skinnemoen's avatar
      Fix timerfd breakage on avr32 · 46a56c5a
      Haavard Skinnemoen authored
      Hmm. Someone removed the timerfd() syscall...
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      46a56c5a
    • Hugh Dickins's avatar
      stop c_p_a corrupting the pds · 8cb2a7c1
      Hugh Dickins authored
      When change_page_attr splits a large page on x86_32 (without PAE), it is
      currently corrupting every process's page directory: fix that by removing
      the thinko which passes down a physical instead of a virtual address.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      8cb2a7c1
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 21511abd
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] make pfm_get_task work with virtual pids
        [IA64] honor notify_die() returning NOTIFY_STOP
        [IA64] remove dead code: __cpu_{down,die} from !HOTPLUG_CPU
        [IA64] Appoint kvm/ia64 Maintainers
        [IA64] ia64_set_psr should use srlz.i
        [IA64] Export three symbols for module use
        [IA64] mca style cleanup
        [IA64] sn_hwperf semaphore to mutex
        [IA64] generalize attribute of fsyscall_gtod_data
        [IA64] efi.c Add /* never reached */ annotation
        [IA64] efi.c Spelling/punctuation fixes
        [IA64] Make efi.c mostly fit in 80 columns
        [IA64] aliasing-test: fix gcc warnings on non-ia64
        [IA64] Slim-down __clear_bit_unlock
        [IA64] Fix the order of atomic operations in restore_previous_kprobes on ia64
        [IA64] constify function pointer tables
        [IA64] fix userspace compile error in gcc_intrin.h
      21511abd
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 39ce941e
      Linus Torvalds authored
      * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [S390] dcss: Initialize workqueue before using it.
        [S390] Remove BUILD_BUG_ON() in vmem code.
        [S390] sclp_tty/sclp_vt220: Fix scheduling while atomic
        [S390] dasd: fix panic caused by alias device offline
        [S390] dasd: add ifcc handling
        [S390] latencytop s390 support.
        [S390] Implement ext2_find_next_bit.
        [S390] Cleanup & optimize bitops.
        [S390] Define GENERIC_LOCKBREAK.
        [S390] console: allow vt220 console to be the only console
        [S390] Fix couple of section mismatches.
        [S390] Fix smp_call_function_mask semantics.
        [S390] Fix linker script.
        [S390] DEBUG_PAGEALLOC support for s390.
        [S390] cio: Add shutdown callback for ccwgroup.
        [S390] cio: Update documentation.
        [S390] cio: Clean up chsc response code handling.
        [S390] cio: make sense id procedure work with partial hardware response
      39ce941e
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 3d412f60
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (21 commits)
        [PKT_SCHED]: vlan tag match
        [NET]: Add if_addrlabel.h to sanitized headers.
        [NET] rtnetlink.c: remove no longer used functions
        [ICMP]: Restore pskb_pull calls in receive function
        [INET]: Fix accidentally broken inet(6)_hash_connect's port offset calculations.
        [NET]: Remove further references to net-modules.txt
        bluetooth rfcomm tty: destroy before tty_close()
        bluetooth: blacklist another Broadcom BCM2035 device
        drivers/bluetooth/btsdio.c: fix double-free
        drivers/bluetooth/bpa10x.c: fix memleak
        bluetooth: uninlining
        bluetooth: hidp_process_hid_control remove unnecessary parameter dealing
        tun: impossible to deassert IFF_ONE_QUEUE or IFF_NO_PI
        hamradio: fix dmascc section mismatch
        [SCTP]: Fix kernel panic while received AUTH chunk with BAD shared key identifier
        [SCTP]: Fix kernel panic while received AUTH chunk while enabled auth
        [IPV4]: Formatting fix for /proc/net/fib_trie.
        [IPV6]: Fix sysctl compilation error.
        [NET_SCHED]: Add #ifdef CONFIG_NET_EMATCH in net/sched/cls_flow.c (latest git broken build)
        [IPV4]: Fix compile error building without CONFIG_FS_PROC
        ...
      3d412f60