jxiong
16fa68f07d
Do not upgrade userobj accounting for snapshot dataset
...
'zfs recv' could disown a living objset without calling
dmu_objset_disown(). This will cause the problem that the objset
would be released while the upgrading thread is still running.
This patch avoids the problem by checking if a dataset is a snapshot
before calling dmu_objset_userobjspace_upgrade(). Snapshots
are immutable and therefore it doesn't make sense to update them.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Closes #5295
Closes #5328
2016-10-25 13:21:05 -07:00
..
2016-10-03 14:51:15 -07:00
2016-10-24 10:45:59 -07:00
2016-10-24 10:45:59 -07:00
2016-09-01 11:39:45 -07:00
2016-09-13 09:58:58 -07:00
2016-09-13 09:59:13 -07:00
2010-09-08 12:38:56 -07:00
2016-08-31 14:35:34 -07:00
2014-08-01 14:28:05 -07:00
2010-09-08 12:38:56 -07:00
2015-05-11 15:10:24 -07:00
2014-08-06 14:48:41 -07:00
2016-01-08 15:08:19 -08:00
2016-09-29 15:55:41 -07:00
2014-01-07 10:33:11 -08:00
2016-09-22 16:01:19 -07:00
2016-10-25 13:21:05 -07:00
2016-09-13 09:58:58 -07:00
2016-06-28 13:47:02 -07:00
2014-03-04 12:22:24 -08:00
2016-08-30 14:26:55 -07:00
2016-10-20 11:24:01 -07:00
2016-10-07 09:45:13 -07:00
2014-07-29 10:55:29 -07:00
2016-09-13 09:58:58 -07:00
2010-09-08 12:38:56 -07:00
2016-10-07 09:45:13 -07:00
2013-11-04 11:18:14 -08:00
2016-06-28 13:47:03 -07:00
2015-07-06 09:31:35 -07:00
2016-01-12 10:53:12 -08:00
2014-08-06 14:48:41 -07:00
2015-05-04 09:41:10 -07:00
2013-11-04 11:17:48 -08:00
2016-10-03 14:51:15 -07:00
2015-12-04 09:27:00 -08:00
2016-10-19 12:55:59 -07:00
2016-10-13 17:59:18 -07:00
2016-10-13 17:59:18 -07:00
2016-04-05 18:55:59 -07:00
2015-06-11 10:27:25 -07:00
2010-09-08 12:38:56 -07:00
2014-08-13 10:35:00 -07:00
2016-04-21 09:49:25 -07:00
2016-06-07 09:16:52 -07:00
2014-07-30 09:20:35 -07:00
2016-10-13 17:59:18 -07:00
2015-07-06 09:34:13 -07:00
2016-06-24 13:13:21 -07:00
2015-12-30 13:20:12 -08:00
2014-11-17 11:13:55 -08:00
2016-10-03 14:51:15 -07:00
2016-10-03 14:51:15 -07:00
2010-09-08 12:38:56 -07:00
2016-06-02 14:30:51 -07:00
2016-10-13 17:59:18 -07:00
2016-10-03 14:51:15 -07:00
2014-10-23 15:30:32 -07:00
2014-07-22 09:39:16 -07:00
2016-08-12 13:06:48 -07:00
2016-08-08 10:47:43 -07:00
2016-09-13 09:58:33 -07:00
2016-05-26 10:11:51 -07:00
2016-01-15 15:38:35 -08:00
2016-09-13 09:58:33 -07:00
2015-07-29 07:35:06 -07:00
2015-07-29 07:35:06 -07:00
2015-08-18 16:47:21 -07:00
2015-07-29 07:35:06 -07:00
2015-07-29 07:35:06 -07:00
2016-05-26 10:11:51 -07:00
2016-01-15 15:38:35 -08:00
2015-01-06 16:53:24 -08:00
2013-12-06 09:32:43 -08:00
2014-09-23 13:50:55 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2015-07-14 10:35:21 -07:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2010-09-08 12:38:56 -07:00
2016-08-11 11:19:34 -07:00
2015-06-25 08:58:16 -07:00
2016-10-24 10:45:59 -07:00
2016-10-03 09:44:00 -07:00
2016-07-19 16:43:07 -07:00
2016-05-12 12:36:32 -07:00
2011-03-02 11:43:50 -08:00
2016-08-19 12:35:23 -07:00
2015-04-28 16:25:34 -07:00
2016-08-19 12:48:03 -07:00
2016-05-17 11:52:07 -07:00
2013-11-04 10:55:25 -08:00
2016-08-31 14:35:34 -07:00
2016-08-30 14:33:40 -07:00
2015-09-04 16:08:14 -07:00
2013-12-18 16:46:35 -08:00
2011-02-10 09:27:21 -08:00
2011-02-10 09:27:21 -08:00
2016-09-13 09:58:58 -07:00
2010-09-08 12:38:56 -07:00
2016-10-19 12:55:59 -07:00
2016-05-17 10:40:30 -07:00
2015-05-11 12:23:16 -07:00
2010-09-08 12:38:56 -07:00
2016-10-07 09:45:13 -07:00
2016-04-21 09:49:25 -07:00
2016-07-25 13:21:49 -07:00
2015-05-11 12:23:16 -07:00
2016-08-12 10:30:16 -07:00
2016-10-03 14:51:15 -07:00
2016-09-13 09:58:58 -07:00
2016-10-13 17:59:18 -07:00
2016-05-12 12:36:32 -07:00
2016-10-13 17:59:18 -07:00
2016-08-11 12:06:37 -07:00
2010-09-08 12:38:56 -07:00
2016-06-28 13:47:02 -07:00