Josef Bacik
7fd1a3f73f
Btrfs: hold a ref on the inode during writepages
...
We can race with unlink and not actually be able to do our igrab in
btrfs_add_ordered_extent. This will result in all sorts of problems.
Instead of doing the complicated work to try and handle returning an error
properly from btrfs_add_ordered_extent, just hold a ref to the inode during
writepages. If we cannot grab a ref we know we're freeing this inode anyway
and can just drop the dirty pages on the floor, because screw them we're
going to invalidate them anyway. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2012-07-02 15:39:18 -04:00
..
2012-05-30 10:23:27 -04:00
2012-03-22 01:45:34 +01:00
2012-03-22 01:45:34 +01:00
2012-06-27 16:34:39 +02:00
2012-05-30 15:17:34 +02:00
2012-06-14 21:30:54 -04:00
2012-06-14 21:29:16 -04:00
2011-12-21 19:14:09 +01:00
2009-01-06 09:38:55 -05:00
2012-04-13 19:41:27 -07:00
2012-03-22 01:45:34 +01:00
2012-06-27 16:34:40 +02:00
2012-06-21 07:19:34 -04:00
2012-06-15 11:42:28 -04:00
2012-06-15 11:42:28 -04:00
2012-05-30 18:18:21 +02:00
2012-05-30 18:18:21 +02:00
2012-03-22 11:52:54 +01:00
2012-07-02 15:39:17 -04:00
2012-05-30 10:23:39 -04:00
2012-03-22 11:52:54 +01:00
2008-09-25 11:04:06 -04:00
2012-07-02 15:39:18 -04:00
2012-05-31 16:49:53 -04:00
2011-08-01 14:30:50 -04:00
2012-02-15 16:40:25 +01:00
2012-06-27 16:34:35 +02:00
2012-03-30 12:44:29 -07:00
2012-07-02 15:36:23 -04:00
2012-07-02 15:39:18 -04:00
2011-05-06 12:34:03 +02:00
2009-06-10 11:29:53 -04:00
2012-03-28 20:31:37 -04:00
2012-03-29 09:57:44 -04:00
2011-04-25 16:46:11 +08:00
2012-07-02 15:39:17 -04:00
2012-06-15 20:07:17 -04:00
2012-07-02 15:39:17 -04:00
2011-12-21 19:14:16 +01:00
2012-03-22 01:45:34 +01:00
2012-03-22 01:45:34 +01:00
2012-03-20 21:48:21 +08:00
2012-01-16 15:27:58 -05:00
2012-06-14 21:30:54 -04:00
2012-05-30 10:23:33 -04:00
2012-03-22 11:52:54 +01:00
2012-05-30 10:23:41 -04:00
2008-09-25 11:03:56 -04:00
2012-06-14 21:29:16 -04:00
2012-05-30 10:23:43 -04:00
2012-04-27 13:55:14 -04:00
2012-03-22 11:52:54 +01:00
2012-06-14 21:29:16 -04:00
2012-03-26 17:04:23 -04:00
2012-07-02 15:39:17 -04:00
2011-06-17 14:54:18 -04:00
2012-06-14 21:29:13 -04:00
2012-03-22 01:45:40 +01:00
2011-05-02 13:57:22 +02:00
2012-05-30 10:23:42 -04:00
2012-03-22 01:45:34 +01:00
2012-05-31 16:49:53 -04:00
2012-05-31 16:49:53 -04:00
2008-09-25 15:41:59 -04:00
2012-07-02 15:39:17 -04:00
2012-07-02 15:39:17 -04:00
2012-05-30 10:23:27 -04:00
2011-02-01 11:12:29 -05:00
2012-03-20 21:48:21 +08:00