Repository navigation
Commit 908930f
btrfs: stop calling submit_bio_hook for data inodes
Instead export and rename the function to btrfs_submit_data_bio and
call it directly in submit_one_bio. This avoids paying the cost for
speculative attacks mitigations and improves code readability.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent be17b3a commit 908930f
3 files changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2969 | 2969 | | |
2970 | 2970 | | |
2971 | 2971 | | |
| 2972 | + | |
| 2973 | + | |
2972 | 2974 | | |
2973 | 2975 | | |
2974 | 2976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
| |||
2879 | 2883 | | |
2880 | 2884 | | |
2881 | 2885 | | |
2882 | | - | |
| 2886 | + | |
2883 | 2887 | | |
2884 | 2888 | | |
2885 | 2889 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2184 | 2184 | | |
2185 | 2185 | | |
2186 | 2186 | | |
2187 | | - | |
2188 | | - | |
2189 | | - | |
| 2187 | + | |
| 2188 | + | |
2190 | 2189 | | |
2191 | 2190 | | |
2192 | 2191 | | |
| |||
10258 | 10257 | | |
10259 | 10258 | | |
10260 | 10259 | | |
10261 | | - | |
10262 | | - | |
| 10260 | + | |
10263 | 10261 | | |
10264 | 10262 | | |
10265 | 10263 | | |
| |||
0 commit comments