From: Jaegeuk Kim Date: Fri, 9 Jan 2015 03:15:53 +0000 (-0800) Subject: f2fs: support fs shutdown X-Git-Tag: omap-for-v4.2/o2_dc~90^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1abff93d01eddaab7ccdcf15f8cda4d91cbbcd9a;p=pandora-kernel.git f2fs: support fs shutdown This patch introduces a generic ioctl for fs shutdown, which was used by xfs. If this shutdown is triggered, filesystem stops any further IOs according to the following options. 1. FS_GOING_DOWN_FULLSYNC : this will flush all the data and dentry blocks, and do checkpoint before shutdown. 2. FS_GOING_DOWN_METASYNC : this will do checkpoint before shutdown. 3. FS_GOING_DOWN_NOSYNC : this will trigger shutdown as is. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed