> > if (F2FS_OPTION(sbi).fs_mode == FS_MODE_FRAGMENT_SEG)? > > It needs to randomize position of next segment only in fragment_seg mode? > IIRC. >
I want the randomness of segment allocation in fragment:*_block mode to simulate real filesystem fragmentation. How about just using fragment:rand_block for the simulation. I mean we can use segment randomness for fragment:segment and fragment:rand_block. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel