• J
    jbd2: Implement data=ordered mode handling via inodes · c851ed54
    Jan Kara 提交于
    This patch adds necessary framework into JBD2 to be able to track inodes
    with each transaction and write-out their dirty data during transaction
    commit time.
    
    This new ordered mode brings all sorts of advantages such as possibility 
    to get rid of journal heads and buffer heads for data buffers in ordered 
    mode, better ordering of writes on transaction commit, simplification of
     some JBD code, no more anonymous pages when truncate of data being 
    committed happens.  Also with this new ordered mode, delayed allocation 
    on ordered mode is much simpler.
    Signed-off-by: NJan Kara <jack@suse.cz>
    c851ed54
journal.c 64.4 KB