1. 15 6月, 2017 1 次提交
    • A
      ufs: fix s_size/s_dsize users · c596961d
      Al Viro 提交于
      For UFS2 we need 64bit variants; we even store them in uspi, but
      use 32bit ones instead.  One wrinkle is in handling of reserved
      space - recalculating it every time had been stupid all along, but
      now it would become really ugly.  Just calculate it once...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      c596961d
  2. 23 7月, 2012 1 次提交
    • A
      fs/ufs: get rid of write_super · 9e9ad5f4
      Artem Bityutskiy 提交于
      This patch makes UFS stop using the VFS '->write_super()' method along with
      the 's_dirt' superblock flag, because they are on their way out.
      
      The way we implement this is that we schedule a delay job instead relying on
      's_dirt' and '->write_super()'.
      
      The whole "superblock write-out" VFS infrastructure is served by the
      'sync_supers()' kernel thread, which wakes up every 5 (by default) seconds and
      writes out all dirty superblocks using the '->write_super()' call-back.  But the
      problem with this thread is that it wastes power by waking up the system every
      5 seconds, even if there are no diry superblocks, or there are no client
      file-systems which would need this (e.g., btrfs does not use
      '->write_super()'). So we want to kill it completely and thus, we need to make
      file-systems to stop using the '->write_super()' VFS service, and then remove
      it together with the kernel thread.
      
      Tested using fsstress from the LTP project.
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      9e9ad5f4
  3. 28 5月, 2010 1 次提交
    • T
      ufs: permit mounting of BorderWare filesystems · d27d7a9a
      Thomas Stewart 提交于
      I recently had to recover some files from an old broken machine that was
      running BorderWare Document Gateway.  It's basically a drop in web server
      for sharing files.  From the look of the init process and using strings on
      of a few files it seems to be based on FreeBSD 3.3.
      
      The process turned out to be more difficult than I imagined, but to cut a
      long story short BorderWare in their wisdom use a nonstandard magic number
      in their UFS (ufstype=44bsd) file systems.  Thus Linux refuses to mount
      the file systems in order to recover the data.  After a bit of hunting I
      was able to make a quick fix to fs/ufs/super.c in order to detect the new
      magic number.
      
      I assume that this number is the same for all installations.  It's quite
      easy to find out from ufs_fs.h.  The superblock sits 8k into the block
      device and the magic number its 1372 bytes into the superblock struct.
      
      # dd if=/dev/sda5 skip=$(( 8192 + 1372 )) bs=1 count=4 2> /dev/null | hd
      00000000  97 26 24 0f                                       |.&$.|
      #
      Signed-off-by: NThomas Stewart <thomas@stewarts.org.uk>
      Cc: Evgeniy Dushistov <dushistov@mail.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d27d7a9a
  4. 13 3月, 2010 2 次提交
  5. 09 2月, 2008 1 次提交
  6. 17 10月, 2007 2 次提交
  7. 17 3月, 2007 1 次提交
  8. 13 2月, 2007 4 次提交
  9. 10 2月, 2007 1 次提交
    • E
      [PATCH] ufs: restore back support of openstep · f336953b
      Evgeniy Dushistov 提交于
      This is a fix of regression, which triggered by ~2.6.16.
      
      Patch with name ufs-directory-and-page-cache-from-blocks-to-pages.patch: in
      additional to conversation from block to page cache mechanism added new
      checks of directory integrity, one of them that directory entry do not
      across directory chunks.
      
      But some kinds of UFS: OpenStep UFS and Apple UFS (looks like these are the
      same filesystems) have different directory chunk size, then common
      UFSes(BSD and Solaris UFS).
      
      So this patch adds ability to works with variable size of directory chunks,
      and set it for ufstype=openstep to right size.
      
      Tested on darwin ufs.
      Signed-off-by: NEvgeniy Dushistov <dushistov@mail.ru>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f336953b
  10. 04 11月, 2006 1 次提交
  11. 11 10月, 2006 1 次提交
  12. 02 7月, 2006 1 次提交
  13. 29 6月, 2006 1 次提交
  14. 26 6月, 2006 7 次提交
  15. 04 5月, 2006 1 次提交
  16. 29 3月, 2006 1 次提交
  17. 04 2月, 2006 3 次提交
  18. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4