Files
linux-cryptodev-2.6/include/linux
Nilay Shroff a3996d11f3 block: protect debugfs attrs using elevator_lock instead of sysfs_lock
Currently, the block debugfs attributes (tags, tags_bitmap, sched_tags,
and sched_tags_bitmap) are protected using q->sysfs_lock. However, these
attributes are updated in multiple scenarios:
- During driver probe method
- During an elevator switch/update
- During an nr_hw_queues update
- When writing to the sysfs attribute nr_requests

All these update paths (except driver probe method, which doesn't
require any protection) are already protected using q->elevator_lock. To
ensure consistency and proper synchronization, replace q->sysfs_lock
with q->elevator_lock for protecting these debugfs attributes.

Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250313115235.3707600-2-nilay@linux.ibm.com
[axboe: some commit message rewording/fixes]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-03-13 07:22:13 -06:00
..
2025-01-06 07:36:39 -07:00
2024-12-02 12:01:43 +01:00
2025-01-18 12:33:39 -08:00
2024-12-17 09:16:11 +01:00
2025-01-25 20:22:31 -08:00
2024-11-28 14:49:28 +01:00
2025-01-09 10:06:14 +01:00
2025-01-07 18:06:51 -08:00
2024-11-24 17:05:27 -08:00
2024-12-18 09:39:37 +01:00
2025-01-25 08:22:26 +00:00
2025-01-14 19:45:35 +01:00
2024-12-13 08:49:31 -07:00
2024-12-09 13:48:23 -08:00
2025-02-04 11:27:45 -05:00
2025-01-15 15:07:23 -08:00
2025-02-03 18:39:59 -08:00
2025-01-25 20:22:42 -08:00
2024-11-16 10:09:30 -06:00
2025-01-16 17:22:59 -08:00
2024-12-22 11:03:10 +01:00
2025-01-10 11:59:00 +01:00
2025-01-07 15:16:48 +01:00
2025-01-02 10:37:14 -06:00
2024-12-09 14:44:59 -08:00
2025-01-08 14:50:11 -08:00
2024-12-19 19:51:13 -08:00
2025-01-11 20:39:43 +01:00
2025-01-29 09:04:28 -08:00
2024-11-18 11:56:21 +00:00
2024-12-23 08:17:16 -07:00
2025-02-11 13:04:11 -07:00
2024-12-09 14:44:59 -08:00