linux-loongson/drivers/md/dm-vdo/indexer
Matthew Sakai 3da732687d dm vdo indexer: don't read request structure after enqueuing
The function get_volume_page_protected may place a request on
a queue for another thread to process asynchronously. When this
happens, the volume should not read the request from the original
thread. This can not currently cause problems, due to the way
request processing is handled, but it is not safe in general.

Reviewed-by: Ken Raeburn <raeburn@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2025-05-15 15:54:47 +02:00
..
chapter-index.c dm vdo indexer: Convert comma to semicolon 2024-09-18 18:26:35 +02:00
chapter-index.h
config.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
config.h
delta-index.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
delta-index.h
funnel-requestqueue.c dm vdo funnel-queue: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
funnel-requestqueue.h
geometry.c dm vdo: check for VDO_SUCCESS return value from memory-alloc functions 2024-03-04 15:07:56 -05:00
geometry.h
hash-utils.h
index-layout.c dm vdo indexer: prevent unterminated string warning 2025-02-03 14:11:22 +01:00
index-layout.h
index-page-map.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
index-page-map.h
index-session.c dm vdo indexer: reorder uds_request to reduce padding 2025-02-25 14:15:41 +01:00
index-session.h
index.c dm vdo indexer: use swap() instead of open coding it 2024-07-10 13:10:06 +02:00
index.h
indexer.h dm vdo indexer: reorder uds_request to reduce padding 2025-02-25 14:15:41 +01:00
io-factory.c dm-vdo: use bdev_nr_bytes(bdev) instead of i_size_read(bdev->bd_inode) 2024-05-03 02:36:21 -04:00
io-factory.h
open-chapter.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
open-chapter.h
radix-sort.c dm vdo: check for VDO_SUCCESS return value from memory-alloc functions 2024-03-04 15:07:56 -05:00
radix-sort.h
sparse-cache.c dm vdo: check for VDO_SUCCESS return value from memory-alloc functions 2024-03-04 15:07:56 -05:00
sparse-cache.h
volume-index.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
volume-index.h
volume.c dm vdo indexer: don't read request structure after enqueuing 2025-05-15 15:54:47 +02:00
volume.h