06 Jan, 2009

4 commits


01 Jan, 2009

1 commit

  • Creating a generic filesystem notification interface, fsnotify, which will be
    used by inotify, dnotify, and eventually fanotify is really starting to
    clutter the fs directory. This patch simply moves inotify and dnotify into
    fs/notify/inotify and fs/notify/dnotify respectively to make both current fs/
    and future notification tidier.

    Signed-off-by: Eric Paris
    Signed-off-by: Al Viro

    Eric Paris
     

23 Oct, 2008

1 commit

  • Assume you have:
    - one or more of ext2/3/4 statically built into your kernel
    - none of these with extended attributes enabled and
    - want to add onother one of ext2/3/4 modular and with
    extended attributes enabled

    then you currently have to reboot to use it since this results in
    CONFIG_FS_MBCACHE=y.

    That's not a common issue, but I just ran into it and since there's no
    reason to get a built-in mbcache in this case this patch fixes it.

    Signed-off-by: Adrian Bunk
    Cc: Andreas Gruenbacher
    Cc: Al Viro
    Signed-off-by: Andrew Morton

    Adrian Bunk
     

21 Oct, 2008

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
    fuse: implement nonseekable open
    fuse: add include protectors
    fuse: config description improvement
    fuse: add missing fuse_request_free
    fuse: fix SEEK_END incorrectness

    Linus Torvalds
     
  • Use fs/*/Kconfig more, which is good because everything related to one
    filesystem is in one place and fs/Kconfig is quite fat.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • * git://git.infradead.org/mtd-2.6: (69 commits)
    Revert "[MTD] m25p80.c code cleanup"
    [MTD] [NAND] GPIO driver depends on ARM... for now.
    [MTD] [NAND] sh_flctl: fix compile error
    [MTD] [NOR] AT49BV6416 has swapped erase regions
    [MTD] [NAND] GPIO NAND flash driver
    [MTD] cmdlineparts documentation change - explain where mtd-id comes from
    [MTD] cfi_cmdset_0002.c: Add Macronix CFI V1.0 TopBottom detection
    [MTD] [NAND] Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c
    [JFFS2] Write buffer offset adjustment for NOR-ECC (Sibley) flash
    [MTD] mtdoops: Fix a bug where block may not be erased
    [MTD] mtdoops: Add a magic number to logged kernel oops
    [MTD] mtdoops: Fix an off by one error
    [JFFS2] Correct parameter names of jffs2_compress() in comments
    [MTD] [NAND] sh_flctl: add support for Renesas SuperH FLCTL
    [MTD] [NAND] Bug on atmel_nand HW ECC : OOB info not correctly written
    [MTD] [MAPS] Remove unused variable after ROM API cleanup.
    [MTD] m25p80.c extended jedec support (v2)
    [MTD] remove unused mtd parameter in of_mtd_parse_partitions()
    [MTD] [NAND] remove dead Kconfig associated with !CONFIG_PPC_MERGE
    [MTD] [NAND] driver extension to support NAND on TQM85xx modules
    ...

    Linus Torvalds
     

20 Oct, 2008

1 commit


16 Oct, 2008

1 commit


15 Oct, 2008

2 commits

  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2: (56 commits)
    ocfs2: Make cached block reads the common case.
    ocfs2: Kill the last naked wait_on_buffer() for cached reads.
    ocfs2: Move ocfs2_bread() into dir.c
    ocfs2: Simplify ocfs2_read_block()
    ocfs2: Require an inode for ocfs2_read_block(s)().
    ocfs2: Separate out sync reads from ocfs2_read_blocks()
    ocfs2: Refactor xattr list and remove ocfs2_xattr_handler().
    ocfs2: Calculate EA hash only by its suffix.
    ocfs2: Move trusted and user attribute support into xattr.c
    ocfs2: Uninline ocfs2_xattr_name_hash()
    ocfs2: Don't check for NULL before brelse()
    ocfs2: use smaller counters in ocfs2_remove_xattr_clusters_from_cache
    ocfs2: Documentation update for user_xattr / nouser_xattr mount options
    ocfs2: make la_debug_mutex static
    ocfs2: Remove pointless !!
    ocfs2: Add empty bucket support in xattr.
    ocfs2/xattr.c: Fix a bug when inserting xattr.
    ocfs2: Add xattr mount option in ocfs2_show_options()
    ocfs2: Switch over to JBD2.
    ocfs2: Add the 'inode64' mount option.
    ...

    Linus Torvalds
     
  • * 'for-2.6.28' of git://linux-nfs.org/~bfields/linux: (59 commits)
    svcrdma: Fix IRD/ORD polarity
    svcrdma: Update svc_rdma_send_error to use DMA LKEY
    svcrdma: Modify the RPC reply path to use FRMR when available
    svcrdma: Modify the RPC recv path to use FRMR when available
    svcrdma: Add support to svc_rdma_send to handle chained WR
    svcrdma: Modify post recv path to use local dma key
    svcrdma: Add a service to register a Fast Reg MR with the device
    svcrdma: Query device for Fast Reg support during connection setup
    svcrdma: Add FRMR get/put services
    NLM: Remove unused argument from svc_addsock() function
    NLM: Remove "proto" argument from lockd_up()
    NLM: Always start both UDP and TCP listeners
    lockd: Remove unused fields in the nlm_reboot structure
    lockd: Add helper to sanity check incoming NOTIFY requests
    lockd: change nlmclnt_grant() to take a "struct sockaddr *"
    lockd: Adjust nlmsvc_lookup_host() to accomodate AF_INET6 addresses
    lockd: Adjust nlmclnt_lookup_host() signature to accomodate non-AF_INET
    lockd: Support non-AF_INET addresses in nlm_lookup_host()
    NLM: Convert nlm_lookup_host() to use a single argument
    svcrdma: Add Fast Reg MR Data Types
    ...

    Linus Torvalds
     

14 Oct, 2008

1 commit

  • ocfs2 wants JBD2 for many reasons, not the least of which is that JBD is
    limiting our maximum filesystem size.

    It's a pretty trivial change. Most functions are just renamed. The
    only functional change is moving to Jan's inode-based ordered data mode.
    It's better, too.

    Because JBD2 reads and writes JBD journals, this is compatible with any
    existing filesystem. It can even interact with JBD-based ocfs2 as long
    as the journal is formated for JBD.

    We provide a compatibility option so that paranoid people can still use
    JBD for the time being. This will go away shortly.

    [ Moved call of ocfs2_begin_ordered_truncate() from ocfs2_delete_inode() to
    ocfs2_truncate_for_delete(). --Mark ]

    Signed-off-by: Joel Becker
    Signed-off-by: Mark Fasheh

    Joel Becker
     

13 Oct, 2008

2 commits


11 Oct, 2008

1 commit


30 Sep, 2008

2 commits

  • In order to advertise NFS-related services on IPv6 interfaces via
    rpcbind, the kernel RPC server implementation must use
    rpcb_v4_register() instead of rpcb_register().

    A new kernel build option allows distributions to use the legacy
    v2 call until they integrate an appropriate user-space rpcbind
    daemon that can support IPv6 RPC services.

    I tried adding some automatic logic to fall back if registering
    with a v4 protocol request failed, but there are too many corner
    cases. So I just made it a compile-time switch that distributions
    can throw when they've replaced portmapper with rpcbind.

    Signed-off-by: Chuck Lever
    Signed-off-by: J. Bruce Fields

    Chuck Lever
     
  • This patch adds the CONFIG_FILE_LOCKING option which allows to remove
    support for advisory locks. With this patch enabled, the flock()
    system call, the F_GETLK, F_SETLK and F_SETLKW operations of fcntl()
    and NFS support are disabled. These features are not necessarly needed
    on embedded systems. It allows to save ~11 Kb of kernel code and data:

    text data bss dec hex filename
    1125436 118764 212992 1457192 163c28 vmlinux.old
    1114299 118564 212992 1445855 160fdf vmlinux
    -11137 -200 0 -11337 -2C49 +/-

    This patch has originally been written by Matt Mackall
    , and is part of the Linux Tiny project.

    Signed-off-by: Thomas Petazzoni
    Signed-off-by: Matt Mackall
    Cc: matthew@wil.cx
    Cc: linux-fsdevel@vger.kernel.org
    Cc: mpm@selenic.com
    Cc: akpm@linux-foundation.org
    Signed-off-by: J. Bruce Fields

    Thomas Petazzoni
     

01 Sep, 2008

2 commits


27 Aug, 2008

2 commits


20 Aug, 2008

1 commit


27 Jul, 2008

1 commit


26 Jul, 2008

2 commits

  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • While fixing CONFIG_ leakages to the userspace kernel headers I ran into
    CODA_FS_OLD_API.

    After five years, are there still people using the old API left?
    Especially considering that you have to choose at compile time which API
    to support in the kernel (and distributions tend to offer the new API for
    some time).

    Jan: "The old API can definitely go. Around the time the new
    interface went in there were some non-Coda userspace file system
    implementations that took a while longer to convert to the new API,
    but by now they all switched to the new interface or in some cases
    to a FUSE-based solution."

    Signed-off-by: Adrian Bunk
    Acked-by: Jan Harkes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

18 Jul, 2008

1 commit

  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
    [PATCH] ocfs2: fix oops in mmap_truncate testing
    configfs: call drop_link() to cleanup after create_link() failure
    configfs: Allow ->make_item() and ->make_group() to return detailed errors.
    configfs: Fix failing mkdir() making racing rmdir() fail
    configfs: Fix deadlock with racing rmdir() and rename()
    configfs: Make configfs_new_dirent() return error code instead of NULL
    configfs: Protect configfs_dirent s_links list mutations
    configfs: Introduce configfs_dirent_lock
    ocfs2: Don't snprintf() without a format.
    ocfs2: Fix CONFIG_OCFS2_DEBUG_FS #ifdefs
    ocfs2/net: Silence build warnings on sparc64
    ocfs2: Handle error during journal load
    ocfs2: Silence an error message in ocfs2_file_aio_read()
    ocfs2: use simple_read_from_buffer()
    ocfs2: fix printk format warnings with OCFS2_FS_STATS=n
    [PATCH 2/2] ocfs2: Instrument fs cluster locks
    [PATCH 1/2] ocfs2: Add CONFIG_OCFS2_FS_STATS config option

    Linus Torvalds
     

17 Jul, 2008

1 commit


16 Jul, 2008

1 commit


15 Jul, 2008

2 commits


10 Jul, 2008

2 commits

  • Some server vendors support the higher versions of rpcbind only for
    AF_INET6. The kernel doesn't need to use v3 or v4 for AF_INET anyway,
    so change the kernel's rpcbind client to query AF_INET servers over
    rpcbind v2 only.

    This has a few interesting benefits:

    1. If the rpcbind request is going over TCP, and the server doesn't
    support rpcbind versions 3 or 4, the client reduces by two the number
    of ephemeral ports left in TIME_WAIT for each rpcbind request. This
    will help during NFS mount storms.

    2. The rpcbind interaction with servers that don't support rpcbind
    versions 3 or 4 will use less network traffic. Also helpful
    during mount storms.

    3. We can eliminate the kernel build option that controls whether the
    kernel's rpcbind client uses rpcbind version 3 and 4 for AF_INET
    servers. Less complicated kernel configuration...

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     
  • Clean up: refresh the help text for Kconfig items related to the NFS
    client. Remove obsolete URLs, and make the language consistent among
    the options.

    Also move the ROOT_NFS config option next to the options related to the
    NFS client.

    Signed-off-by: Chuck Lever
    Signed-off-by: Trond Myklebust

    Chuck Lever
     

08 Jul, 2008

1 commit


05 Jul, 2008

1 commit


30 Apr, 2008

1 commit

  • This adds hugetlbfs support on System z, using both hardware large page
    support if available and software large page emulation on older hardware.
    Shared (large) page tables are implemented in software emulation mode,
    by using page->index of the first tail page from a compound large page
    to store page table information.

    Signed-off-by: Gerald Schaefer
    Signed-off-by: Martin Schwidefsky

    Gerald Schaefer
     

25 Apr, 2008

2 commits

  • * git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (80 commits)
    SUNRPC: Invalidate the RPCSEC_GSS session if the server dropped the request
    make nfs_automount_list static
    NFS: remove duplicate flags assignment from nfs_validate_mount_data
    NFS - fix potential NULL pointer dereference v2
    SUNRPC: Don't change the RPCSEC_GSS context on a credential that is in use
    SUNRPC: Fix a race in gss_refresh_upcall()
    SUNRPC: Don't disconnect more than once if retransmitting NFSv4 requests
    SUNRPC: Remove the unused export of xprt_force_disconnect
    SUNRPC: remove XS_SENDMSG_RETRY
    SUNRPC: Protect creds against early garbage collection
    NFSv4: Attempt to use machine credentials in SETCLIENTID calls
    NFSv4: Reintroduce machine creds
    NFSv4: Don't use cred->cr_ops->cr_name in nfs4_proc_setclientid()
    nfs: fix printout of multiword bitfields
    nfs: return negative error value from nfs{,4}_stat_to_errno
    NLM/lockd: Ensure client locking calls use correct credentials
    NFS: Remove the buggy lock-if-signalled case from do_setlk()
    NLM/lockd: Fix a race when cancelling a blocking lock
    NLM/lockd: Ensure that nlmclnt_cancel() returns results of the CANCEL call
    NLM: Remove the signal masking in nlmclnt_proc/nlmclnt_cancel
    ...

    Linus Torvalds
     
  • Trond Myklebust
     

24 Apr, 2008

1 commit

  • Clean up: Because NFSD_V4 "depends on" NFSD_V3, it appears as a child of
    the NFSD_V3 menu entry, and is not visible if NFSD_V3 is unselected.

    Replace the dependency on NFSD_V3 with a "select NFSD_V3". This makes
    NFSD_V4 look and work just like NFS_V3, while ensuring that NFSD_V3 is
    enabled if NFSD_V4 is.

    Sam Ravnborg adds:

    "This use of select is questionable. In general it is bad to select
    a symbol with dependencies.

    In this case the dependencies of NFSD_V3 are duplicated for NFSD_V4
    so we will not se erratic configurations but do you remember to
    update NFSD_V4 when you add a depends on NFSD_V3?

    But I see no other clean way to do it right now."

    Later he said:

    "My comment was more to say we have things to address in kconfig.
    This is abuse in the acceptable range."

    Signed-off-by: Chuck Lever
    Signed-off-by: J. Bruce Fields

    Chuck Lever