[PATCH 1/3] fs: Introduce new flag FALLOC_FL_COLLAPSE_RANGE

Theodore Ts'o tytso at mit.edu
Wed Jul 31 17:01:54 CDT 2013


Have you considered what happens if you have a 10 megabyte file, of
which the first 5 megs are mmap'ed into a userspace process.

Now suppose you call COLLAPASE_RANGE on a one megabyte range starting
at offset 1024k from the beginning of the file.

Does the right thing happen to the mmap'ed region in memory?

Cheers,

					- Ted



More information about the xfs mailing list