diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-settings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c index d3234fc494ad..b74cc58bc038 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -143,6 +143,7 @@ void blk_set_stacking_limits(struct queue_limits *lim) lim->discard_zeroes_data = 1; lim->max_segments = USHRT_MAX; lim->max_hw_sectors = UINT_MAX; + lim->max_segment_size = UINT_MAX; lim->max_sectors = BLK_DEF_MAX_SECTORS; } |