commit | 9ad1a74ff0090fb201ee87ebb00b38c8bf25b26c | [log] [tgz] |
---|---|---|
author | Logan Gunthorpe <logang@deltatee.com> | Thu Jun 16 13:19:45 2022 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Aug 02 17:14:43 2022 -0600 |
tree | 88b89bee7c79726ab5fd5c0229d33d89d50a773b | |
parent | df1b620a3e13b682f624c2cbf73e88d825d6d386 [diff] |
md/raid5: Increase restriction on max segments per request The block layer defaults the maximum segments to 128, which means requests tend to get split around the 512KB depending on how many pages can be merged. There's no such restriction in the raid5 code so increase the limit to USHRT_MAX so that larger requests can be sent as one. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>