04 Jun, 2013

1 commit

  • Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"),
    it has been basically impossible to build a kernel with CONFIG_HOTPLUG
    turned off. Remove all the remaining references to it.

    Cc: Russell King
    Cc: Doug Thompson
    Cc: Bjorn Helgaas
    Cc: Steven Whitehouse
    Cc: Arnd Bergmann
    Cc: Pavel Machek
    Cc: "Rafael J. Wysocki"
    Cc: Andrew Morton
    Signed-off-by: Stephen Rothwell
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Hans Verkuil
    Signed-off-by: Greg Kroah-Hartman

    Stephen Rothwell
     

24 May, 2013

1 commit

  • Fix build errors by correcting DLM dependencies in GFS2.
    Build errors happen when CONFIG_GFS2_FS_LOCKING_DLM=y and CONFIG_DLM=m:

    fs/built-in.o: In function `gfs2_lock':
    file.c:(.text+0xc7abd): undefined reference to `dlm_posix_get'
    file.c:(.text+0xc7ad0): undefined reference to `dlm_posix_unlock'
    file.c:(.text+0xc7ad9): undefined reference to `dlm_posix_lock'
    fs/built-in.o: In function `gdlm_unmount':
    lock_dlm.c:(.text+0xd6e5b): undefined reference to `dlm_release_lockspace'
    fs/built-in.o: In function `sync_unlock':
    lock_dlm.c:(.text+0xd6e9e): undefined reference to `dlm_unlock'
    fs/built-in.o: In function `sync_lock':
    lock_dlm.c:(.text+0xd6fb6): undefined reference to `dlm_lock'
    fs/built-in.o: In function `gdlm_put_lock':
    lock_dlm.c:(.text+0xd7238): undefined reference to `dlm_unlock'
    fs/built-in.o: In function `gdlm_mount':
    lock_dlm.c:(.text+0xd753e): undefined reference to `dlm_new_lockspace'
    lock_dlm.c:(.text+0xd79d3): undefined reference to `dlm_release_lockspace'
    fs/built-in.o: In function `gdlm_lock':
    lock_dlm.c:(.text+0xd8179): undefined reference to `dlm_lock'
    fs/built-in.o: In function `gdlm_cancel':
    lock_dlm.c:(.text+0xd6b22): undefined reference to `dlm_unlock'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Steven Whitehouse

    Randy Dunlap
     

26 Mar, 2012

1 commit


20 Sep, 2010

1 commit


23 Jul, 2010

1 commit

  • Workqueue can now handle high concurrency. Convert gfs to use
    workqueue instead of slow-work.

    * Steven pointed out that recovery path might be run from allocation
    path and thus requires forward progress guarantee without memory
    allocation. Create and use gfs_recovery_wq with rescuer. Please
    note that forward progress wasn't guaranteed with slow-work.

    * Updated to use non-reentrant workqueue.

    Signed-off-by: Tejun Heo
    Acked-by: Steven Whitehouse

    Tejun Heo
     

09 Mar, 2010

1 commit


18 Dec, 2009

1 commit

  • This reverts commit e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319, as
    requested by Alexey:

    "I think I gave a good enough arguments to not merge it.
    To iterate:
    * patch makes impossible to start using ext3 on EXT3_FS=n kernels
    without reboot.
    * this is done only for one pointer on task_struct"

    None of config options which define task_struct are tristate directly
    or effectively."

    Requested-by: Alexey Dobriyan
    Acked-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

16 Dec, 2009

1 commit

  • journal_info in task_struct is used in journaling file system only. So
    introduce CONFIG_FS_JOURNAL_INFO and make it conditional.

    Signed-off-by: Hiroshi Shimamoto
    Cc: Chris Mason
    Cc: "Theodore Ts'o"
    Cc: Steven Whitehouse
    Cc: KONISHI Ryusuke
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hiroshi Shimamoto
     

03 Dec, 2009

1 commit


19 Jun, 2009

1 commit

  • Follow-up to "block: enable by default support for large devices
    and files on 32-bit archs".

    Rename CONFIG_LBD to CONFIG_LBDAF to:
    - allow update of existing [def]configs for "default y" change
    - reflect that it is used also for large files support nowadays

    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Jens Axboe

    Bartlomiej Zolnierkiewicz
     

19 May, 2009

1 commit

  • This patch fixes a race condition where we can receive recovery
    requests part way through processing a umount. This was causing
    problems since the recovery thread had already gone away.

    Looking in more detail at the recovery code, it was really trying
    to implement a slight variation on a work queue, and that happens to
    align nicely with the recently introduced slow-work subsystem. As a
    result I've updated the code to use slow-work, rather than its own home
    grown variety of work queue.

    When using the wait_on_bit() function, I noticed that the wait function
    that was supplied as an argument was appearing in the WCHAN field, so
    I've updated the function names in order to produce more meaningful
    output.

    Signed-off-by: Steven Whitehouse

    Steven Whitehouse
     

24 Mar, 2009

1 commit

  • This is the big patch that I've been working on for some time
    now. There are many reasons for wanting to make this change
    such as:
    o Reducing overhead by eliminating duplicated fields between structures
    o Simplifcation of the code (reduces the code size by a fair bit)
    o The locking interface is now the DLM interface itself as proposed
    some time ago.
    o Fewer lookups of glocks when processing replies from the DLM
    o Fewer memory allocations/deallocations for each glock
    o Scope to do further optimisations in the future (but this patch is
    more than big enough for now!)

    Please note that (a) this patch relates to the lock_dlm module and
    not the DLM itself, that is still a separate module; and (b) that
    we retain the ability to build GFS2 as a standalone single node
    filesystem with out requiring the DLM.

    This patch needs a lot of testing, hence my keeping it I restarted
    my -git tree after the last merge window. That way, this has the maximum
    exposure before its merged. This is (modulo a few minor bug fixes) the
    same patch that I've been posting on and off the the last three months
    and its passed a number of different tests so far.

    Signed-off-by: Steven Whitehouse

    Steven Whitehouse
     

07 Jan, 2009

1 commit


27 Jun, 2008

1 commit

  • This patch merges the lock_nolock module into GFS2 itself. As well as removing
    some of the overhead of the module, it also means that its now impossible to
    build GFS2 without a lock module (which would be a pointless thing to do
    anyway).

    We also plan to merge lock_dlm into GFS2 in the future, but that is a more
    tricky task, and will therefore be a separate patch.

    Signed-off-by: Steven Whitehouse
    Cc: David Teigland

    Steven Whitehouse
     

31 Mar, 2008

2 commits

  • We need to ensure that sector_t is 64bits for GFS2, so that we need to
    depend on LBD as well as LSF.

    Signed-off-by: Steven Whitehouse

    Steven Whitehouse
     
  • The blocks counter is almost a duplicate of the i_blocks
    field in the VFS inode. The only difference is that i_blocks
    can be only 32bits long for 32bit arch without large single file
    support. Since GFS2 doesn't handle the non-large single file
    case (for 32 bit anyway) this adds a new config dependency on
    64BIT || LSF. This has always been the case, however we've never
    explicitly said so before.

    Even if we do add support for the non-LSF case, we will still
    not require this field to be duplicated since we will not be
    able to access oversized files anyway.

    So the net result of all this is that we shave 8 bytes from a gfs2_inode
    and get our config deps correct.

    Signed-off-by: Steven Whitehouse

    Steven Whitehouse
     

06 Feb, 2007

3 commits

  • Indent help text as expected.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Steven Whitehouse

    Randy Dunlap
     
  • On Sun, Jan 28, 2007 at 11:08:18AM +0100, Jiri Slaby wrote:
    > Andrew Morton napsal(a):
    > >Temporarily at
    > >
    > > http://userweb.kernel.org/~akpm/2.6.20-rc6-mm1/
    >
    > Unable to select IPV6. Menuconfig doesn't offer it when INET is selected.
    > When it's not it appears in the menu, but after state change it gets away.
    > The same behaviour in xconfig, gconfig.
    >
    > $ mkdir ../a/tst
    > $ make O=../a/tst menuconfig
    > HOSTCC scripts/basic/fixdep
    > [...]
    > HOSTLD scripts/kconfig/mconf
    > scripts/kconfig/mconf arch/i386/Kconfig
    > Warning! Found recursive dependency: INET GFS2_FS_LOCKING_DLM SYSFS
    > OCFS2_FS INET
    >
    > Maybe this is the problem?

    Yes, patch below.

    > regards,

    cu
    Adrian

    This patch fixes a circular dependency by letting GFS2_FS_LOCKING_DLM
    and DLM depend on instead of select SYSFS.

    Since SYSFS depends on EMBEDDED this change shouldn't cause any problems
    for users.

    Signed-off-by: Adrian Bunk
    Acked-by: Randy Dunlap
    Signed-off-by: Steven Whitehouse

    Adrian Bunk
     
  • With CONFIG_DLM=m, CONFIG_PROC_FS=n, and CONFIG_SYSFS=n, kernel build
    fails with:

    WARNING: "kernel_subsys" [fs/gfs2/locking/dlm/lock_dlm.ko] undefined!
    WARNING: "kernel_subsys" [fs/dlm/dlm.ko] undefined!
    WARNING: "kernel_subsys" [fs/configfs/configfs.ko] undefined!
    make[1]: *** [__modpost] Error 1
    make: *** [modules] Error 2

    Since fs/dlm/lockspace.c and fs/gfs2/locking/dlm/sysfs.c use
    kernel_subsys, they should either DEPEND on it or SELECT it.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Steven Whitehouse

    Randy Dunlap
     

16 Dec, 2006

1 commit

  • Here is a patch to fix up the Kconfig so that we don't land up with
    problems when people disable the NET subsystem. Thanks for all the hints and
    suggestions that people have sent me regarding this.

    Signed-off-by: Steven Whitehouse
    Cc: Aleksandr Koltsoff
    Cc: Toralf Förster
    Cc: Randy Dunlap
    Cc: Adrian Bunk
    Cc: Chris Zubrzycki
    Cc: Patrick Caulfield

    Steven Whitehouse
     

30 Nov, 2006

1 commit


23 Jun, 2006

1 commit


25 Apr, 2006

1 commit

  • Remove select of SYSFS as requested by Greg KH. Change whitespace to
    tabs rather than spaces in places where it was incorrect and removed
    'default m' as suggested by Adrian Bunk.

    Reorganised Makefile as suggested by Sam Ravnborg.

    Cc: Sam Ravnborg
    Cc: Adrian Bunk
    Cc: Greg KH
    Signed-off-by: Steven Whitehouse

    Steven Whitehouse
     

17 Jan, 2006

1 commit