[lkml]   [2010]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Proposal: Use hi-res clock for file timestamps
    On Fri, Aug 13, 2010 at 12:09 PM, john stultz <> wrote:
    > So other then "show some numbers", my only thought that might make the
    > patch more attractive is that rather than a global change, or a static
    > CONFIG_ option, would it maybe make more sense as a mount option?

    I really like this idea.

    Consider the following "revision 2" of my proposal:

    1) Add a function pointer "current_fs_time" to struct super_block.

    2) Replace all calls of the form:




    3) Arrange for the default value to point to the current implementation.

    These first three could be one patch. They change no functionality;
    they just enable the next step.


    4) Add a mount option to cause sb->current_fs_time(sb) to use the
    hi-res implementation.


    - Pat

     \ /
      Last update: 2010-08-13 22:57    [W:0.018 / U:33.260 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site