You say writes submitted after the discard will not be merged before the barrier.
So say we have 100 of files being deleted on a FAT filesystem. After each file deletion a
discard (i.e. BARRIER) is submitted.
Now in stead of writing the FAT table changes once at the end, the FAT table changes must be
written 100 times.
Posted Aug 19, 2008 16:47 UTC (Tue) by jlokier (guest, #52227)
[Link]
Writes were never merged by the device request queue anyway.
Merging the FAT table writes happens at a higher level: in the FAT filesystem. That's not
affected by these changes. The FAT filesystem will submit a series of DISCARD requests for
each deleted file, interspersed with a smaller number of FAT write requests which merge
multiple changes.