Chunwei Chen
29572ccdef
Fix empty xattr dir causing lockup
...
During zfs_rmnode on a xattr dir, if the system crash just after
dmu_free_long_range, we would get empty xattr dir in delete queue. This would
cause blkid=0 be passed into zap_get_leaf_byblk when doing zfs_purgedir during
mount, and would try to do rw_enter on a wrong structure and cause system
lockup.
We fix this by returning ENOENT when blkid is zero in zap_get_leaf_byblk.
Signed-off-by: Chunwei Chen <david.chen@osnexus.com >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #4114
Closes #4052
Closes #4006
Closes #3018
Closes #2861
2015-12-28 09:41:30 -08:00
..
2015-12-15 16:11:44 -08:00
2014-08-01 14:28:05 -07:00
2015-01-16 14:41:26 -08:00
2015-05-11 15:10:24 -07:00
2015-05-11 12:23:16 -07:00
2015-06-11 10:27:25 -07:00
2015-12-22 10:21:33 -08:00
2015-01-16 14:41:26 -08:00
2015-08-19 14:32:50 -07:00
2015-06-11 10:27:25 -07:00
2014-10-21 15:26:50 -07:00
2015-10-13 14:12:02 -07:00
2015-12-07 12:20:43 -08:00
2015-09-04 08:43:28 -07:00
2015-07-06 09:31:42 -07:00
2015-01-16 14:41:26 -08:00
2015-12-15 16:21:43 -08:00
2015-10-13 14:12:02 -07:00
2015-12-22 10:21:33 -08:00
2015-05-04 09:41:10 -07:00
2015-12-04 14:20:20 -08:00
2015-12-15 16:12:31 -08:00
2015-05-04 09:41:10 -07:00
2015-12-04 14:20:20 -08:00
2015-05-04 09:41:10 -07:00
2015-07-28 13:36:47 -07:00
2015-05-04 09:41:10 -07:00
2015-07-14 10:35:21 -07:00
2015-05-04 09:41:10 -07:00
2015-05-04 09:41:10 -07:00
2015-06-22 17:02:13 -07:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-07-17 13:42:51 -07:00
2015-09-01 15:22:07 -07:00
2015-12-22 10:21:33 -08:00
2015-06-25 08:58:16 -07:00
2015-01-16 14:41:26 -08:00
2015-07-06 09:34:13 -07:00
2015-05-11 15:10:57 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2015-12-22 10:40:40 -08:00
2014-08-06 14:48:41 -07:00
2015-05-11 12:23:16 -07:00
2015-09-02 09:30:18 -07:00
2015-06-11 10:27:25 -07:00
2015-12-18 13:46:23 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-06-11 10:27:25 -07:00
2015-12-22 10:21:33 -08:00
2015-07-14 10:35:21 -07:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-10-13 15:25:33 -07:00
2015-09-01 15:22:07 -07:00
2015-01-16 14:41:26 -08:00
2015-04-30 15:07:47 -07:00
2015-04-30 15:07:47 -07:00
2015-12-18 13:32:06 -08:00
2015-04-30 15:07:47 -07:00
2013-10-31 14:58:04 -07:00
2015-12-22 10:21:33 -08:00
2015-04-28 16:25:20 -07:00
2015-12-04 09:39:20 -08:00
2015-12-28 09:41:30 -08:00
2015-12-04 14:20:20 -08:00
2015-12-04 14:20:20 -08:00
2015-01-16 14:41:26 -08:00
2010-08-31 13:41:58 -07:00
2015-12-14 12:06:31 -08:00
2015-09-04 16:08:14 -07:00
2014-08-11 16:12:36 -07:00
2015-01-16 14:41:26 -08:00
2013-10-30 14:51:27 -07:00
2015-11-16 16:10:06 -08:00
2015-05-11 12:23:16 -07:00
2015-06-22 17:02:13 -07:00
2014-09-05 15:11:43 -07:00
2015-01-16 14:41:26 -08:00
2015-04-28 16:25:34 -07:00
2015-09-04 13:23:53 -07:00
2015-09-04 13:23:06 -07:00
2015-12-22 16:58:43 -08:00
2015-07-28 13:36:47 -07:00
2014-08-01 14:28:05 -07:00
2015-07-10 12:11:45 -07:00
2015-06-11 10:27:25 -07:00
2015-12-22 10:21:33 -08:00
2010-05-28 13:45:14 -07:00
2015-08-31 13:54:39 -07:00
2015-08-31 13:54:39 -07:00
2015-08-24 10:17:06 -07:00
2015-12-08 16:38:56 -08:00
2015-09-25 12:45:42 -07:00
2015-12-22 16:59:20 -08:00
2015-04-30 14:43:40 -07:00
2015-12-15 16:21:43 -08:00