[lkml]   [1997]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.0.31-pre9: "noise after df"
    > (If I'm the only one to debug with ears, please excuse)
    > I think that "df" makes more noise on my harddisk than previous (i.e.
    > 2.0.30) kernels.
    > Can it be that some metadata is never written back to disk unless a
    > "df" (or manual sync()) is done? My ears suggest that more data is
    > written back now...
    > Maybe someone can check it. And you can send me the CD "The sounds of
    > the most popular harddisks"... ;-)

    Hmm. Recreated in 2.1.55, df sounds like sync... And looks like sync,
    too (on blinkenlights)... And guess what:

    And it is because df _calls_ sync!

    write(1, "Filesystem 1024-blocks "..., 67Filesystem
    1024-blocks Used Available Capacity Mounted on
    ) = 67
    sync() = 0
    statfs("/", {f_type=EXT2_SUPER_MAGIC, f_bsize=1024, f_blocks=491660,
    f_bfree=21860, f_files=127472, f_ffree=89438, f_namelen=255}}) = 0
    write(1, "/dev/hda4 491660 46"..., 58/dev/hda4
    491660 469800 16780 97%

    So "bug" is in df (or is sync required before df-ing?).

    I'm really Pavel
    Look at ;-).

     \ /
      Last update: 2005-03-22 13:40    [W:0.020 / U:55.920 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site