https://github.com/torvalds/linux
Revision 9544bc5347207a68eb308cc8aaaed6c3a687cabd authored by Jens Axboe on 29 June 2018, 14:48:06 UTC, committed by Jens Axboe on 29 June 2018, 14:48:06 UTC
This was introduced more than a decade ago when sg chaining was
added, but we never really caught anything with it. The scatterlist
entry size can be critical, since drivers allocate it, so remove
the magic member. Recently it's been triggering allocation stalls
and failures in NVMe.

Tested-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 49f1c61
History
Tip revision: 9544bc5347207a68eb308cc8aaaed6c3a687cabd authored by Jens Axboe on 29 June 2018, 14:48:06 UTC
sg: remove ->sg_magic member
Tip revision: 9544bc5
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 39.0 KB
msg.c -rw-r--r-- 29.7 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.8 KB
sem.c -rw-r--r-- 60.9 KB
shm.c -rw-r--r-- 41.6 KB
syscall.c -rw-r--r-- 4.7 KB
util.c -rw-r--r-- 22.6 KB
util.h -rw-r--r-- 8.9 KB

back to top