<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/fs, branch v3.0-rc7</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6</title>
<updated>2011-07-11T19:48:24+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-07-11T19:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=71a1b44b036457169e7974eea0b5b37f64176952'/>
<id>71a1b44b036457169e7974eea0b5b37f64176952</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
  cifs: drop spinlock before calling cifs_put_tlink
  cifs: fix expand_dfs_referral
  cifs: move bdi_setup_and_register outside of CONFIG_CIFS_DFS_UPCALL
  cifs: factor smb_vol allocation out of cifs_setup_volume_info
  cifs: have cifs_cleanup_volume_info not take a double pointer
  cifs: fix build_unc_path_to_root to account for a prefixpath
  cifs: remove bogus call to cifs_cleanup_volume_info
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
  cifs: drop spinlock before calling cifs_put_tlink
  cifs: fix expand_dfs_referral
  cifs: move bdi_setup_and_register outside of CONFIG_CIFS_DFS_UPCALL
  cifs: factor smb_vol allocation out of cifs_setup_volume_info
  cifs: have cifs_cleanup_volume_info not take a double pointer
  cifs: fix build_unc_path_to_root to account for a prefixpath
  cifs: remove bogus call to cifs_cleanup_volume_info
</pre>
</div>
</content>
</entry>
<entry>
<title>cifs: drop spinlock before calling cifs_put_tlink</title>
<updated>2011-07-11T18:40:52+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@redhat.com</email>
</author>
<published>2011-07-11T14:16:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f484b5d001a972a42129570e98086a2a6d216ce0'/>
<id>f484b5d001a972a42129570e98086a2a6d216ce0</id>
<content type='text'>
...as that function can sleep.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...as that function can sleep.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cifs: fix expand_dfs_referral</title>
<updated>2011-07-09T21:25:57+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@redhat.com</email>
</author>
<published>2011-07-06T12:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b9bce2e9f9936cfd12fbc62ead11edcdd46dec7e'/>
<id>b9bce2e9f9936cfd12fbc62ead11edcdd46dec7e</id>
<content type='text'>
Regression introduced in commit 724d9f1cfba.

Prior to that, expand_dfs_referral would regenerate the mount data string
and then call cifs_parse_mount_options to re-parse it (klunky, but it
worked). The above commit moved cifs_parse_mount_options out of cifs_mount,
so the re-parsing of the new mount options no longer occurred. Fix it by
making expand_dfs_referral re-parse the mount options.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regression introduced in commit 724d9f1cfba.

Prior to that, expand_dfs_referral would regenerate the mount data string
and then call cifs_parse_mount_options to re-parse it (klunky, but it
worked). The above commit moved cifs_parse_mount_options out of cifs_mount,
so the re-parsing of the new mount options no longer occurred. Fix it by
making expand_dfs_referral re-parse the mount options.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cifs: move bdi_setup_and_register outside of CONFIG_CIFS_DFS_UPCALL</title>
<updated>2011-07-09T20:29:51+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@redhat.com</email>
</author>
<published>2011-07-09T16:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=20547490c12b0ee3d32152b85e9f9bd183aa7224'/>
<id>20547490c12b0ee3d32152b85e9f9bd183aa7224</id>
<content type='text'>
This needs to be done regardless of whether that KConfig option is set
or not.

Reported-by: Sven-Haegar Koch &lt;haegar@sdinet.de&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This needs to be done regardless of whether that KConfig option is set
or not.

Reported-by: Sven-Haegar Koch &lt;haegar@sdinet.de&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable</title>
<updated>2011-07-09T06:25:45+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-07-09T06:25:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1acc9309eb2674533944f48dbaaa53e7750e3947'/>
<id>1acc9309eb2674533944f48dbaaa53e7750e3947</id>
<content type='text'>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
  btrfs: fix oops when doing space balance
  Btrfs: don't panic if we get an error while balancing V2
  btrfs: add missing options displayed in mount output
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
  btrfs: fix oops when doing space balance
  Btrfs: don't panic if we get an error while balancing V2
  btrfs: add missing options displayed in mount output
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs</title>
<updated>2011-07-08T16:00:51+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-07-08T16:00:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=54af2bd25cd489fe9facca15d18a2ca7e070ab2f'/>
<id>54af2bd25cd489fe9facca15d18a2ca7e070ab2f</id>
<content type='text'>
* 'for-linus' of git://oss.sgi.com/xfs/xfs:
  xfs: unpin stale inodes directly in IOP_COMMITTED
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'for-linus' of git://oss.sgi.com/xfs/xfs:
  xfs: unpin stale inodes directly in IOP_COMMITTED
</pre>
</div>
</content>
</entry>
<entry>
<title>cifs: factor smb_vol allocation out of cifs_setup_volume_info</title>
<updated>2011-07-08T03:51:23+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@redhat.com</email>
</author>
<published>2011-07-06T12:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=04db79b015dafcb79371fda6b5c32ffdbd31a2ff'/>
<id>04db79b015dafcb79371fda6b5c32ffdbd31a2ff</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Reviewed-by: Pavel Shilovsky &lt;piastryyy@gmail.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Reviewed-by: Pavel Shilovsky &lt;piastryyy@gmail.com&gt;
Signed-off-by: Steve French &lt;sfrench@us.ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>FS-Cache: Add a helper to bulk uncache pages on an inode</title>
<updated>2011-07-07T20:21:56+00:00</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2011-07-07T11:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c902ce1bfb40d8b049bd2319b388b4b68b04bc27'/>
<id>c902ce1bfb40d8b049bd2319b388b4b68b04bc27</id>
<content type='text'>
Add an FS-Cache helper to bulk uncache pages on an inode.  This will
only work for the circumstance where the pages in the cache correspond
1:1 with the pages attached to an inode's page cache.

This is required for CIFS and NFS: When disabling inode cookie, we were
returning the cookie and setting cifsi-&gt;fscache to NULL but failed to
invalidate any previously mapped pages.  This resulted in "Bad page
state" errors and manifested in other kind of errors when running
fsstress.  Fix it by uncaching mapped pages when we disable the inode
cookie.

This patch should fix the following oops and "Bad page state" errors
seen during fsstress testing.

  ------------[ cut here ]------------
  kernel BUG at fs/cachefiles/namei.c:201!
  invalid opcode: 0000 [#1] SMP
  Pid: 5, comm: kworker/u:0 Not tainted 2.6.38.7-30.fc15.x86_64 #1 Bochs Bochs
  RIP: 0010: cachefiles_walk_to_object+0x436/0x745 [cachefiles]
  RSP: 0018:ffff88002ce6dd00  EFLAGS: 00010282
  RAX: ffff88002ef165f0 RBX: ffff88001811f500 RCX: 0000000000000000
  RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000282
  RBP: ffff88002ce6dda0 R08: 0000000000000100 R09: ffffffff81b3a300
  R10: 0000ffff00066c0a R11: 0000000000000003 R12: ffff88002ae54840
  R13: ffff88002ae54840 R14: ffff880029c29c00 R15: ffff88001811f4b0
  FS:  00007f394dd32720(0000) GS:ffff88002ef00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  CR2: 00007fffcb62ddf8 CR3: 000000001825f000 CR4: 00000000000006e0
  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
  Process kworker/u:0 (pid: 5, threadinfo ffff88002ce6c000, task ffff88002ce55cc0)
  Stack:
   0000000000000246 ffff88002ce55cc0 ffff88002ce6dd58 ffff88001815dc00
   ffff8800185246c0 ffff88001811f618 ffff880029c29d18 ffff88001811f380
   ffff88002ce6dd50 ffffffff814757e4 ffff88002ce6dda0 ffffffff8106ac56
  Call Trace:
   cachefiles_lookup_object+0x78/0xd4 [cachefiles]
   fscache_lookup_object+0x131/0x16d [fscache]
   fscache_object_work_func+0x1bc/0x669 [fscache]
   process_one_work+0x186/0x298
   worker_thread+0xda/0x15d
   kthread+0x84/0x8c
   kernel_thread_helper+0x4/0x10
  RIP  cachefiles_walk_to_object+0x436/0x745 [cachefiles]
  ---[ end trace 1d481c9af1804caa ]---

I tested the uncaching by the following means:

 (1) Create a big file on my NFS server (104857600 bytes).

 (2) Read the file into the cache with md5sum on the NFS client.  Look in
     /proc/fs/fscache/stats:

	Pages  : mrk=25601 unc=0

 (3) Open the file for read/write ("bash 5&lt;&gt;/warthog/bigfile").  Look in proc
     again:

	Pages  : mrk=25601 unc=25601

Reported-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Reviewed-and-Tested-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
cc: stable@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an FS-Cache helper to bulk uncache pages on an inode.  This will
only work for the circumstance where the pages in the cache correspond
1:1 with the pages attached to an inode's page cache.

This is required for CIFS and NFS: When disabling inode cookie, we were
returning the cookie and setting cifsi-&gt;fscache to NULL but failed to
invalidate any previously mapped pages.  This resulted in "Bad page
state" errors and manifested in other kind of errors when running
fsstress.  Fix it by uncaching mapped pages when we disable the inode
cookie.

This patch should fix the following oops and "Bad page state" errors
seen during fsstress testing.

  ------------[ cut here ]------------
  kernel BUG at fs/cachefiles/namei.c:201!
  invalid opcode: 0000 [#1] SMP
  Pid: 5, comm: kworker/u:0 Not tainted 2.6.38.7-30.fc15.x86_64 #1 Bochs Bochs
  RIP: 0010: cachefiles_walk_to_object+0x436/0x745 [cachefiles]
  RSP: 0018:ffff88002ce6dd00  EFLAGS: 00010282
  RAX: ffff88002ef165f0 RBX: ffff88001811f500 RCX: 0000000000000000
  RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000282
  RBP: ffff88002ce6dda0 R08: 0000000000000100 R09: ffffffff81b3a300
  R10: 0000ffff00066c0a R11: 0000000000000003 R12: ffff88002ae54840
  R13: ffff88002ae54840 R14: ffff880029c29c00 R15: ffff88001811f4b0
  FS:  00007f394dd32720(0000) GS:ffff88002ef00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  CR2: 00007fffcb62ddf8 CR3: 000000001825f000 CR4: 00000000000006e0
  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
  Process kworker/u:0 (pid: 5, threadinfo ffff88002ce6c000, task ffff88002ce55cc0)
  Stack:
   0000000000000246 ffff88002ce55cc0 ffff88002ce6dd58 ffff88001815dc00
   ffff8800185246c0 ffff88001811f618 ffff880029c29d18 ffff88001811f380
   ffff88002ce6dd50 ffffffff814757e4 ffff88002ce6dda0 ffffffff8106ac56
  Call Trace:
   cachefiles_lookup_object+0x78/0xd4 [cachefiles]
   fscache_lookup_object+0x131/0x16d [fscache]
   fscache_object_work_func+0x1bc/0x669 [fscache]
   process_one_work+0x186/0x298
   worker_thread+0xda/0x15d
   kthread+0x84/0x8c
   kernel_thread_helper+0x4/0x10
  RIP  cachefiles_walk_to_object+0x436/0x745 [cachefiles]
  ---[ end trace 1d481c9af1804caa ]---

I tested the uncaching by the following means:

 (1) Create a big file on my NFS server (104857600 bytes).

 (2) Read the file into the cache with md5sum on the NFS client.  Look in
     /proc/fs/fscache/stats:

	Pages  : mrk=25601 unc=0

 (3) Open the file for read/write ("bash 5&lt;&gt;/warthog/bigfile").  Look in proc
     again:

	Pages  : mrk=25601 unc=25601

Reported-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Reviewed-and-Tested-by: Suresh Jayaraman &lt;sjayaraman@suse.de&gt;
cc: stable@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>btrfs: fix oops when doing space balance</title>
<updated>2011-07-06T22:51:53+00:00</updated>
<author>
<name>Miao Xie</name>
<email>miaox@cn.fujitsu.com</email>
</author>
<published>2011-07-06T22:51:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=149e2d76b4886c4c7ff5e077646a8ba3563c8026'/>
<id>149e2d76b4886c4c7ff5e077646a8ba3563c8026</id>
<content type='text'>
We need to make sure the data relocation inode doesn't go through
the delayed metadata updates, otherwise we get an oops during balance:

kernel BUG at fs/btrfs/relocation.c:4303!
[SNIP]
Call Trace:
 [&lt;ffffffffa03143fd&gt;] ? update_ref_for_cow+0x22d/0x330 [btrfs]
 [&lt;ffffffffa0314951&gt;] __btrfs_cow_block+0x451/0x5e0 [btrfs]
 [&lt;ffffffffa031355d&gt;] ? read_block_for_search+0x14d/0x4d0 [btrfs]
 [&lt;ffffffffa0314beb&gt;] btrfs_cow_block+0x10b/0x240 [btrfs]
 [&lt;ffffffffa031acae&gt;] btrfs_search_slot+0x49e/0x7a0 [btrfs]
 [&lt;ffffffffa032d8af&gt;] btrfs_lookup_inode+0x2f/0xa0 [btrfs]
 [&lt;ffffffff8147bf0e&gt;] ? mutex_lock+0x1e/0x50
 [&lt;ffffffffa0380cf1&gt;] btrfs_update_delayed_inode+0x71/0x160 [btrfs]
 [&lt;ffffffffa037ff27&gt;] ? __btrfs_release_delayed_node+0x67/0x190 [btrfs]
 [&lt;ffffffffa0381cf8&gt;] btrfs_run_delayed_items+0xe8/0x120 [btrfs]
 [&lt;ffffffffa03365e0&gt;] btrfs_commit_transaction+0x250/0x850 [btrfs]
 [&lt;ffffffff810f91d9&gt;] ? find_get_pages+0x39/0x130
 [&lt;ffffffffa0336cd5&gt;] ? join_transaction+0x25/0x250 [btrfs]
 [&lt;ffffffff81081de0&gt;] ? wake_up_bit+0x40/0x40
 [&lt;ffffffffa03785fa&gt;] prepare_to_relocate+0xda/0xf0 [btrfs]
 [&lt;ffffffffa037f2bb&gt;] relocate_block_group+0x4b/0x620 [btrfs]
 [&lt;ffffffffa0334cf5&gt;] ? btrfs_clean_old_snapshots+0x35/0x150 [btrfs]
 [&lt;ffffffffa037fa43&gt;] btrfs_relocate_block_group+0x1b3/0x2e0 [btrfs]
 [&lt;ffffffffa0368ec0&gt;] ? btrfs_tree_unlock+0x50/0x50 [btrfs]
 [&lt;ffffffffa035e39b&gt;] btrfs_relocate_chunk+0x8b/0x670 [btrfs]
 [&lt;ffffffffa031303d&gt;] ? btrfs_set_path_blocking+0x3d/0x50 [btrfs]
 [&lt;ffffffffa03577d8&gt;] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
 [&lt;ffffffffa031bea1&gt;] ? btrfs_previous_item+0xb1/0x150 [btrfs]
 [&lt;ffffffffa03577d8&gt;] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
 [&lt;ffffffffa035f5aa&gt;] btrfs_balance+0x21a/0x2b0 [btrfs]
 [&lt;ffffffffa0368898&gt;] btrfs_ioctl+0x798/0xd20 [btrfs]
 [&lt;ffffffff8111e358&gt;] ? handle_mm_fault+0x148/0x270
 [&lt;ffffffff814809e8&gt;] ? do_page_fault+0x1d8/0x4b0
 [&lt;ffffffff81160d6a&gt;] do_vfs_ioctl+0x9a/0x540
 [&lt;ffffffff811612b1&gt;] sys_ioctl+0xa1/0xb0
 [&lt;ffffffff81484ec2&gt;] system_call_fastpath+0x16/0x1b
[SNIP]
RIP  [&lt;ffffffffa037c1cc&gt;] btrfs_reloc_cow_block+0x22c/0x270 [btrfs]

Signed-off-by: Miao Xie &lt;miaox@cn.fujitsu.com&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to make sure the data relocation inode doesn't go through
the delayed metadata updates, otherwise we get an oops during balance:

kernel BUG at fs/btrfs/relocation.c:4303!
[SNIP]
Call Trace:
 [&lt;ffffffffa03143fd&gt;] ? update_ref_for_cow+0x22d/0x330 [btrfs]
 [&lt;ffffffffa0314951&gt;] __btrfs_cow_block+0x451/0x5e0 [btrfs]
 [&lt;ffffffffa031355d&gt;] ? read_block_for_search+0x14d/0x4d0 [btrfs]
 [&lt;ffffffffa0314beb&gt;] btrfs_cow_block+0x10b/0x240 [btrfs]
 [&lt;ffffffffa031acae&gt;] btrfs_search_slot+0x49e/0x7a0 [btrfs]
 [&lt;ffffffffa032d8af&gt;] btrfs_lookup_inode+0x2f/0xa0 [btrfs]
 [&lt;ffffffff8147bf0e&gt;] ? mutex_lock+0x1e/0x50
 [&lt;ffffffffa0380cf1&gt;] btrfs_update_delayed_inode+0x71/0x160 [btrfs]
 [&lt;ffffffffa037ff27&gt;] ? __btrfs_release_delayed_node+0x67/0x190 [btrfs]
 [&lt;ffffffffa0381cf8&gt;] btrfs_run_delayed_items+0xe8/0x120 [btrfs]
 [&lt;ffffffffa03365e0&gt;] btrfs_commit_transaction+0x250/0x850 [btrfs]
 [&lt;ffffffff810f91d9&gt;] ? find_get_pages+0x39/0x130
 [&lt;ffffffffa0336cd5&gt;] ? join_transaction+0x25/0x250 [btrfs]
 [&lt;ffffffff81081de0&gt;] ? wake_up_bit+0x40/0x40
 [&lt;ffffffffa03785fa&gt;] prepare_to_relocate+0xda/0xf0 [btrfs]
 [&lt;ffffffffa037f2bb&gt;] relocate_block_group+0x4b/0x620 [btrfs]
 [&lt;ffffffffa0334cf5&gt;] ? btrfs_clean_old_snapshots+0x35/0x150 [btrfs]
 [&lt;ffffffffa037fa43&gt;] btrfs_relocate_block_group+0x1b3/0x2e0 [btrfs]
 [&lt;ffffffffa0368ec0&gt;] ? btrfs_tree_unlock+0x50/0x50 [btrfs]
 [&lt;ffffffffa035e39b&gt;] btrfs_relocate_chunk+0x8b/0x670 [btrfs]
 [&lt;ffffffffa031303d&gt;] ? btrfs_set_path_blocking+0x3d/0x50 [btrfs]
 [&lt;ffffffffa03577d8&gt;] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
 [&lt;ffffffffa031bea1&gt;] ? btrfs_previous_item+0xb1/0x150 [btrfs]
 [&lt;ffffffffa03577d8&gt;] ? read_extent_buffer+0xd8/0x1d0 [btrfs]
 [&lt;ffffffffa035f5aa&gt;] btrfs_balance+0x21a/0x2b0 [btrfs]
 [&lt;ffffffffa0368898&gt;] btrfs_ioctl+0x798/0xd20 [btrfs]
 [&lt;ffffffff8111e358&gt;] ? handle_mm_fault+0x148/0x270
 [&lt;ffffffff814809e8&gt;] ? do_page_fault+0x1d8/0x4b0
 [&lt;ffffffff81160d6a&gt;] do_vfs_ioctl+0x9a/0x540
 [&lt;ffffffff811612b1&gt;] sys_ioctl+0xa1/0xb0
 [&lt;ffffffff81484ec2&gt;] system_call_fastpath+0x16/0x1b
[SNIP]
RIP  [&lt;ffffffffa037c1cc&gt;] btrfs_reloc_cow_block+0x22c/0x270 [btrfs]

Signed-off-by: Miao Xie &lt;miaox@cn.fujitsu.com&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Btrfs: don't panic if we get an error while balancing V2</title>
<updated>2011-07-06T22:46:43+00:00</updated>
<author>
<name>Josef Bacik</name>
<email>josef@redhat.com</email>
</author>
<published>2011-07-02T21:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=508794eb5ec2a2b832742e78c6766844b10c0c94'/>
<id>508794eb5ec2a2b832742e78c6766844b10c0c94</id>
<content type='text'>
A user reported an error where if we try to balance an fs after a device has
been removed it will blow up.  This is because we get an EIO back and this is
where BUG_ON(ret) bites us in the ass.  To fix we just exit.  Thanks,

Reported-by: Anand Jain &lt;Anand.Jain@oracle.com&gt;
Signed-off-by: Josef Bacik &lt;josef@redhat.com&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A user reported an error where if we try to balance an fs after a device has
been removed it will blow up.  This is because we get an EIO back and this is
where BUG_ON(ret) bites us in the ass.  To fix we just exit.  Thanks,

Reported-by: Anand Jain &lt;Anand.Jain@oracle.com&gt;
Signed-off-by: Josef Bacik &lt;josef@redhat.com&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
