3 ms·
Around the turn of the century, I was working for a company that was continuously recording live video streams to a hard drive. Since you can't do that indefini
by jbuzbee 12y ago
Around the turn of the century, I was working for a company that was continuously recording live video streams to a hard drive. Since you can't do that indefinitely, we'd only keep around the last two hours or so. If I recall correctly, XFS was chosen both because of performance and because it was the only filesystem that supported file truncation at the start of the file. It was just a single call to truncate a few hundred meg at the start of the file when you ran out of space. I don't know if any other filesystems support that these days, but it was a great feature for us at the time.