David Sterba
7503b83d80
btrfs: move ulist allocation out of transaction in quota enable
...
The allocation happens with GFP_KERNEL after a transaction has been
started, this can potentially cause deadlock if reclaim tries to get the
memory by flushing filesystem data.
The fs_info::qgroup_ulist is not used during transaction start when
quotas are not enabled. The status bit BTRFS_FS_QUOTA_ENABLED is set
later in btrfs_quota_enable so it's safe to move it before the
transaction start.
Reviewed-by: Filipe Manana <fdmanana@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2019-02-27 14:10:25 +01:00
..
2018-12-17 14:51:44 +01:00
2019-02-25 14:13:17 +01:00
2019-02-25 14:13:24 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:39 +01:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:43 +01:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:32 +01:00
2019-02-25 14:13:32 +01:00
2019-02-25 14:19:23 +01:00
2019-02-27 14:08:47 +01:00
2018-04-12 16:29:46 +02:00
2018-10-15 17:23:38 +02:00
2018-10-15 17:23:33 +02:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:41 +01:00
2018-12-17 14:51:45 +01:00
2018-10-15 17:23:25 +02:00
2019-02-25 14:13:38 +01:00
2018-12-17 14:51:43 +01:00
2018-10-15 17:23:25 +02:00
2018-04-12 16:29:46 +02:00
2019-02-27 12:24:07 +01:00
2019-02-25 14:13:36 +01:00
2019-02-25 14:13:21 +01:00
2019-02-25 14:13:21 +01:00
2019-02-27 14:08:47 +01:00
2018-12-17 14:51:40 +01:00
2019-02-25 14:13:17 +01:00
2018-11-06 16:42:32 +01:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:37 +01:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:43 +02:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:35 +01:00
2019-02-27 12:24:16 +01:00
2018-04-12 16:29:55 +02:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:32 +01:00
2018-03-26 15:09:39 +02:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:25 +01:00
2018-12-17 14:51:43 +01:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:41 +02:00
2018-04-20 19:18:16 +02:00
2018-05-17 14:18:25 +02:00
2018-04-12 16:29:46 +02:00
2019-02-27 14:10:25 +01:00
2019-02-25 14:13:39 +01:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:45 +01:00
2019-02-25 14:13:27 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:19:23 +01:00
2019-02-27 14:08:47 +01:00
2019-02-25 14:13:41 +01:00
2019-01-03 18:57:57 -08:00
2018-04-12 16:29:46 +02:00
2018-08-06 13:12:43 +02:00
2019-02-25 14:13:33 +01:00
2018-12-17 14:51:37 +01:00
2018-12-17 14:51:43 +01:00
2019-02-25 14:13:27 +01:00
2018-12-17 14:51:43 +01:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:27 +01:00
2019-02-25 14:19:23 +01:00
2018-12-17 14:51:31 +01:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 16:46:53 +02:00
2019-02-25 14:13:41 +01:00
2019-02-25 14:13:30 +01:00
2018-12-17 14:51:49 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:32 +01:00
2019-02-25 14:13:33 +01:00