[PATCH] Set max_sectors for raid0 only, not for all raid levels.
raid1 and multipath have not concept of a chunksize, so basing max_sectors on it is obviously wrong. Similary 'linear' has a very different concept of chunksize and max_sectors doesn't apply. raid5 does have relevant chunk_size concept, but it has code to effectively handle any chunksize. So we only need to set max_sectors based on chunk_size in raid0.
Showing
Please register or sign in to comment