[PATCH RFC v2 5/6] ext4: add shortcut for moving files across projects

2015-03-10 Thread Konstantin Khlebnikov
This patch adds useful optimization for most common case of moving files across projects: non-directory inode without extra hardlinks (i_nlink == 1) can be moved into different project without making a copy. We just have to change project in and reaccount disk usage in one transaction with rename.

[PATCH RFC v2 5/6] ext4: add shortcut for moving files across projects

2015-03-10 Thread Konstantin Khlebnikov
This patch adds useful optimization for most common case of moving files across projects: non-directory inode without extra hardlinks (i_nlink == 1) can be moved into different project without making a copy. We just have to change project in and reaccount disk usage in one transaction with rename.