12 Aug, 2010

1 commit


10 Aug, 2010

1 commit

  • These changes are crafted based on the similar
    conversion done to ext2 by Nick Piggin.

    * Remove the deprecated ->truncate vector. Let exofs_setattr
    take care of on-disk size updates.
    * Call truncate_pagecache on the unused pages if
    write_begin/end fails.
    * Cleanup exofs_delete_inode that did stupid inode
    writes and updates on an inode that will be
    removed.
    * And finally get rid of exofs_get_block. We never
    had any blocks it was all for calling nobh_truncate_page.
    nobh_truncate_page is not actually needed in exofs since
    the last page is complete and gone, just like all the other
    pages. There is no partial blocks in exofs.

    I've tested with this patch, and there are no apparent
    failures, so far.

    CC: Nick Piggin
    CC: Christoph Hellwig
    Signed-off-by: Boaz Harrosh
    Signed-off-by: Al Viro

    Boaz Harrosh
     

04 Aug, 2010

1 commit

  • As per Christoph advise: no need to call filemap_write_and_wait().
    In exofs all metadata is at the inode so just writing the inode is
    all is needed. ->fsync implies this must be done synchronously.

    But now exofs_file_fsync can not be used by exofs_file_flush.
    vfs_fsync() should do that job correctly.

    FIXME: remove the sb_sync and fix that sb_update better.

    Signed-off-by: Boaz Harrosh

    Boaz Harrosh
     

28 May, 2010

1 commit


21 Jun, 2009

2 commits

  • The use of file_fsync() in exofs_file_sync() is not necessary since it
    does some extra stuff not used by exofs. Open code just the parts that
    are currently needed.

    TODO: Farther optimization can be done to sync the sb only on inode
    update of new files, Usually the sb update is not needed in exofs.

    Signed-off-by: Boaz Harrosh

    Boaz Harrosh
     
  • Boaz,
    Congrats on getting all the OSD stuff into 2.6.30!
    I just pulled the git, and saw that the IBM copyrights are still there.
    Please remove them from all files:
    * Copyright (C) 2005, 2006
    * International Business Machines

    IBM has revoked all rights on the code - they gave it to me.

    Thanks!
    Avishay

    Signed-off-by: Avishay Traeger
    Signed-off-by: Boaz Harrosh

    Boaz Harrosh
     

01 Apr, 2009

1 commit

  • implementation of the file_operations and inode_operations for
    regular data files.

    Most file_operations are generic vfs implementations except:
    - exofs_truncate will truncate the OSD object as well
    - Generic file_fsync is not good for none_bd devices so open code it
    - The default for .flush in Linux is todo nothing so call exofs_fsync
    on the file.

    Signed-off-by: Boaz Harrosh

    Boaz Harrosh