On Sat, Jan 23, 2016 at 1:03 AM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > On Fri, Jan 22, 2016 at 7:06 AM, Ming Lei <tom.leiming@xxxxxxxxx> wrote: >> >> Yes, it is one problem, something like below does fix my test >> with 4K block size. > > It just doesn't look very legible. OK, I will try to make it better. > > Also, how could this > >> - goto split; >> + if (sectors) >> + goto split; > > ever matter? If sectors is 0, something is seriously wrong afaik. I guess that is possible because blk_max_size_offset() depends on offset and may return a small size which is less than logical block size. -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html