]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 30 Oct 2010 16:05:48 +0000 (09:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 30 Oct 2010 16:05:48 +0000 (09:05 -0700)
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: (39 commits)
  Btrfs: deal with errors from updating the tree log
  Btrfs: allow subvol deletion by unprivileged user with -o user_subvol_rm_allowed
  Btrfs: make SNAP_DESTROY async
  Btrfs: add SNAP_CREATE_ASYNC ioctl
  Btrfs: add START_SYNC, WAIT_SYNC ioctls
  Btrfs: async transaction commit
  Btrfs: fix deadlock in btrfs_commit_transaction
  Btrfs: fix lockdep warning on clone ioctl
  Btrfs: fix clone ioctl where range is adjacent to extent
  Btrfs: fix delalloc checks in clone ioctl
  Btrfs: drop unused variable in block_alloc_rsv
  Btrfs: cleanup warnings from gcc 4.6 (nonbugs)
  Btrfs: Fix variables set but not read (bugs found by gcc 4.6)
  Btrfs: Use ERR_CAST helpers
  Btrfs: use memdup_user helpers
  Btrfs: fix raid code for removing missing drives
  Btrfs: Switch the extent buffer rbtree into a radix tree
  Btrfs: restructure try_release_extent_buffer()
  Btrfs: use the flusher threads for delalloc throttling
  Btrfs: tune the chunk allocation to 5% of the FS as metadata
  ...

Fix up trivial conflicts in fs/btrfs/super.c and fs/fs-writeback.c, and
remove use of INIT_RCU_HEAD in fs/btrfs/extent_io.c (that init macro was
useless and removed in commit 5e8067adfdba: "rcu head remove init")

1  2 
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/inode.c
fs/btrfs/super.c
fs/btrfs/volumes.c
fs/fs-writeback.c
include/linux/writeback.h

Simple merge
Simple merge
Simple merge
Simple merge
index ebe46c628748336eddee1e70502f2a8e08709f38,718b10de2049554eb76d7c6402490e95dbd45081..8299a25ffc8f8313064cbd3e54278e9f5ebbc662
@@@ -665,8 -680,7 +677,7 @@@ error_close_devices
        btrfs_close_devices(fs_devices);
  error_free_subvol_name:
        kfree(subvol_name);
- error:
 -      return error;
 +      return ERR_PTR(error);
  }
  
  static int btrfs_remount(struct super_block *sb, int *flags, char *data)
Simple merge
index f027382b54bef3b7c125c090faaa9e7b87f2bb9c,1e23c33ea5cfd2f5836537c16f0d3c0f9f1bdddd..3d06ccc953aafaa8f590528015953e2e53a2c0c9
@@@ -1102,9 -1091,22 +1103,20 @@@ void writeback_inodes_sb_nr(struct supe
        bdi_queue_work(sb->s_bdi, &work);
        wait_for_completion(&done);
  }
 -      return writeback_inodes_sb_nr(sb, global_page_state(NR_FILE_DIRTY) +
 -                            global_page_state(NR_UNSTABLE_NFS) +
 -                            (inodes_stat.nr_inodes - inodes_stat.nr_unused));
+ EXPORT_SYMBOL(writeback_inodes_sb_nr);
+ /**
+  * writeback_inodes_sb        -       writeback dirty inodes from given super_block
+  * @sb: the superblock
+  *
+  * Start writeback on some inodes on this super_block. No guarantees are made
+  * on how many (if any) will be written, and this function does not wait
+  * for IO completion of submitted IO.
+  */
+ void writeback_inodes_sb(struct super_block *sb)
+ {
++      return writeback_inodes_sb_nr(sb, get_nr_dirty_pages());
+ }
  EXPORT_SYMBOL(writeback_inodes_sb);
  
  /**
Simple merge