lkml.org 
[lkml]   [2012]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[PATCH 0/3] f2fs: move proc files to debugfs
    Here are 3 patches, moving the proc file usage on f2fs to debugfs.

    The first one fixes a bug in the gc.h file preventing it from being able
    to be included by any other files.

    The second patch moves all current proc file accesses to a single file,
    removing all #ifdefs from the .c files. This should have been done in
    the first place.

    The last file converts the files to use debugfs instead of proc.

    Note, these patches have been compile tested only, I haven't tested them
    out, as I haven't had the chance to yet. I'll go do that this afternoon
    after I catch up on some other pending kernel work.

    One question, it seems that the proc files show all information for all
    super blocks in the system, no matter which subdirectory you are reading
    from in the proc f2fs tree. Is that really what you want? Shouldn't we
    only be showing the stats of the superblock we are saying we will
    report? I'll test that later today, and if it really is wrong, will fix
    the debugfs code up to handle this properly.

    Do these patches look reasonable?

    thanks,

    greg k-h


    \
     
     \ /
      Last update: 2012-10-23 21:01    [W:3.738 / U:0.888 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site