Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

mkfs never calls fsync

2010-06-05
2012-11-28
  • Greg Lindahl
    Greg Lindahl
    2010-06-05

    I run 8 disks/server as a jbod, 8 filesystems. I've noticed that on a live server, if I hot swap 1 disk and format it, mkfs makes a lot of dirty pages very quickly. That makes the interactive performance of my busy database servers kinda unhappy. Is there any way to convince mkfs to throw in some fsyncs?

     
  • Greg Lindahl
    Greg Lindahl
    2010-07-02

    The e2fs release notes claim that O_DIRECT support was added in version 1.34, I am running 1.39 (rhel 5), yet I still see the problem. Hm.