The faster way to write to an SD card

It's equal to one sector. Didn't you noticed how many times I mentioned the number 512?

Here the buffer is actually more used as a "cache", because it's always full of data (even when part of it doesn't belong to a file).