• Stephen C. Tweedie's avatar
    [PATCH] ext3: online resizing · e417c49a
    Stephen C. Tweedie authored
    The patch below adds online resize capability to ext3 based on Andreas
    patch for 2.4 and fixed up by Stephen.
    
    The patch also removes s_debts:
    
    s_debts is currently not used by ext3 (it is created, destroyed and checked
    but never set).  Remove it for now.
    
    Resurrecting this will require adding it back in changed form.  In existing
    form it's already unsafe wrt.  byte-tearing as it performs unlocked byte
    increment/decrement on words which may be being accessed simultaneously on
    other CPUs.  It is also the only in-memory dynamic table which needs to be
    extended by online-resize, so locking it will require care.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    e417c49a
resize.c 31.5 KB