1. 06 Jan, 2015 1 commit
    • Pranith Kumar's avatar
      rcu: Make SRCU optional by using CONFIG_SRCU · 83fe27ea
      Pranith Kumar authored
      SRCU is not necessary to be compiled by default in all cases. For tinification
      efforts not compiling SRCU unless necessary is desirable.
      
      The current patch tries to make compiling SRCU optional by introducing a new
      Kconfig option CONFIG_SRCU which is selected when any of the components making
      use of SRCU are selected.
      
      If we do not select CONFIG_SRCU, srcu.o will not be compiled at all.
      
         text    data     bss     dec     hex filename
         2007       0       0    2007     7d7 kernel/rcu/srcu.o
      
      Size of arch/powerpc/boot/zImage changes from
      
         text    data     bss     dec     hex filename
       831552   64180   23944  919676   e087c arch/powerpc/boot/zImage : before
       829504   64180   23952  917636   e0084 arch/powerpc/boot/zImage : after
      
      so the savings are about ~2000 bytes.
      Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
      CC: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      CC: Josh Triplett <josh@joshtriplett.org>
      CC: Lai Jiangshan <laijs@cn.fujitsu.com>
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      [ paulmck: resolve conflict due to removal of arch/ia64/kvm/Kconfig. ]
      83fe27ea
  2. 04 Mar, 2014 1 commit
  3. 05 Oct, 2010 1 commit
  4. 20 Apr, 2010 1 commit
    • Jan Kara's avatar
      quota: Convert __DQUOT_PARANOIA symbol to standard config option · 62af9b52
      Jan Kara authored
      Make __DQUOT_PARANOIA define from the old days a standard config option
      and turn it off by default.
      
      This gets rid of a quota warning about writes before quota is turned on
      for systems with ext4 root filesystem. Currently there's no way to legally
      solve this because /etc/mtab has to be written before quota is turned on
      on most systems.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      62af9b52
  5. 04 Mar, 2010 1 commit
  6. 10 Dec, 2009 1 commit
    • Jan Kara's avatar
      quota: Implement quota format with 64-bit space and inode limits · 498c6015
      Jan Kara authored
      So far the maximum quota space limit was 4TB. Apparently this isn't enough
      for Lustre guys anymore. So implement new quota format which raises block
      limits to 2^64 bytes. Also store number of inodes and inode limits in
      64-bit variables as 2^32 files isn't that insanely high anymore.
      
      The first version of the patch has been developed by Andrew Perepechko
      <Andrew.Perepechko@Sun.COM>.
      
      CC: Andrew.Perepechko@Sun.COM
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      498c6015
  7. 03 Dec, 2009 1 commit
    • Steven Whitehouse's avatar
      VFS: Export dquot_send_warning · 86e931a3
      Steven Whitehouse authored
      Sending a message to userspace in a generic format to warn
      of events (e.g. quota exceeded) in the quota subsystem is
      a generically useful feature. This patch makes some minor
      changes to the send_message function from dquot.c renaming
      it quota_send_message, moving it to quota.c and exporting it
      for use by filesystems which do not use the dquot code.
      Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
      86e931a3
  8. 25 Mar, 2009 2 commits