1. 29 6月, 2013 1 次提交
  2. 23 2月, 2013 1 次提交
  3. 22 10月, 2010 1 次提交
  4. 28 5月, 2010 2 次提交
    • C
      rename the generic fsync implementations · 1b061d92
      Christoph Hellwig 提交于
      We don't name our generic fsync implementations very well currently.
      The no-op implementation for in-memory filesystems currently is called
      simple_sync_file which doesn't make too much sense to start with,
      the the generic one for simple filesystems is called simple_fsync
      which can lead to some confusion.
      
      This patch renames the generic file fsync method to generic_file_fsync
      to match the other generic_file_* routines it is supposed to be used
      with, and the no-op implementation to noop_fsync to make it obvious
      what to expect.  In addition add some documentation for both methods.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      1b061d92
    • J
      fs/: do not fallback to default_llseek() when readdir() uses BKL · ca572727
      jan Blunck 提交于
      Do not use the fallback default_llseek() if the readdir operation of the
      filesystem still uses the big kernel lock.
      
      Since llseek() modifies
      file->f_pos of the directory directly it may need locking to not confuse
      readdir which usually uses file->f_pos directly as well
      
      Since the special characteristics of the BKL (unlocked on schedule) are
      not necessary in this case, the inode mutex can be used for locking as
      provided by generic_file_llseek().  This is only possible since all
      filesystems, except reiserfs, either use a directory as a flat file or
      with disk address offsets.  Reiserfs on the other hand uses a 32bit hash
      off the filename as the offset so generic_file_llseek() can get used as
      well since the hash is always smaller than sb->s_maxbytes (= (512 << 32) -
      blocksize).
      Signed-off-by: NJan Blunck <jblunck@suse.de>
      Acked-by: NJan Kara <jack@suse.cz>
      Acked-by: NAnders Larsen <al@alarsen.net>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ca572727
  5. 09 11月, 2009 1 次提交
  6. 23 9月, 2009 1 次提交
  7. 12 6月, 2009 2 次提交
    • A
      fs/qnx4: sanitize includes · 964f5369
      Al Viro 提交于
      fs-internal parts of qnx4_fs.h taken to fs/qnx4/qnx4.h, includes adjusted,
      qnx4_fs.h doesn't need unifdef anymore.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      964f5369
    • A
      Sanitize qnx4 fsync handling · 79d25767
      Al Viro 提交于
      * have directory operations use mark_buffer_dirty_inode(),
        so that sync_mapping_buffers() would get those.
      * make qnx4_write_inode() honour its last argument.
      * get rid of insane copies of very ancient "walk the indirect blocks"
        in qnx4/fsync - they never matched the actual fs layout and, fortunately,
        never'd been called.  Again, all this junk is not needed; ->fsync()
        should just do sync_mapping_buffers + sync_inode (and if we implement
        block allocation for qnx4, we'll need to use mark_buffer_dirty_inode()
        for extent blocks)
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      79d25767
  8. 13 2月, 2007 1 次提交
  9. 09 12月, 2006 1 次提交
  10. 01 7月, 2006 1 次提交
  11. 29 3月, 2006 1 次提交
  12. 25 6月, 2005 1 次提交
  13. 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