David Woodhouse <dwmw2@xxxxxxxxxxxxx> writes: >> If fs merges contiguous blocks to one bio, bi_size will overflow. >> Will we have to limit (of the device?) and separate for the device? > > Or just let the device deal with it in multiple requests if it needs to? > I have no strong opinion. Ah, I see. >> Or how about to have #define for discard bio for BIO_RW_DISCARD users? > > Que? How about to add #define like BIO_MAX_SIZE of limit for one discard bio? Maybe, it is needed for BIO_RW_DISCARD users...? -- OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html