aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2022-06-08 10:27:51 -0600
committerJens Axboe <[email protected]>2022-08-02 17:14:31 -0600
commit7769085c8d4d7aad4e68f2f4f2077bd46449511f (patch)
tree69312769f828206bc29df5dc90125056bca17131 /scripts/stackusage
parent78ede6a06f011b47d3c2c9dd5699b05bc3bf2dae (diff)
md/raid5-cache: Drop RCU usage of conf->log
The only place that uses RCU to access conf->log is in r5l_log_disk_error(). This function is mostly used in the IO path and once with mddev_lock() held in raid5_change_consistency_policy(). It is known that the IO will be suspended before the log is freed and r5l_log_exit() is called with the mddev_lock() held. This should mean that conf->log can not be freed while the function is being called, so the RCU protection is not necessary. Drop the rcu_read_lock() as well as the synchronize_rcu() and rcu_assign_pointer() usage. Signed-off-by: Logan Gunthorpe <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Song Liu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions