linux/fs/f2fs
Jaegeuk Kim 1ff7bd3bb5 f2fs: introduce a bio array for per-page write bios
The f2fs has three bio types, NODE, DATA, and META, and manages some data
structures per each bio types.

The codes are a little bit messy, thus, this patch introduces a bio array
which groups individual data structures as follows.

struct f2fs_bio_info {
	struct bio *bio;		/* bios to merge */
	sector_t last_block_in_bio;	/* last block number */
	struct mutex io_mutex;		/* mutex for bio */
};

struct f2fs_sb_info {
	...
	struct f2fs_bio_info write_io[NR_PAGE_TYPE];	/* for write bios */
	...
};

The code changes from this new data structure are trivial.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2013-12-23 10:18:01 +09:00
..
acl.c f2fs: fix a deadlock during init_acl procedure 2013-10-28 13:39:09 +09:00
acl.h f2fs: fix a deadlock during init_acl procedure 2013-10-28 13:39:09 +09:00
checkpoint.c f2fs: cleanup waiting routine for writeback pages in cp 2013-11-08 14:10:29 +09:00
data.c f2fs: disable the extent cache ops on high fragmented files 2013-12-23 10:18:01 +09:00
debug.c f2fs: use seq_puts()/seq_putc() rather than seq_printf() where possible 2013-07-30 15:17:03 +09:00
dir.c f2fs: add an option to avoid unnecessary BUG_ONs 2013-10-29 15:44:38 +09:00
f2fs.h f2fs: introduce a bio array for per-page write bios 2013-12-23 10:18:01 +09:00
file.c f2fs: avoid to wait all the node blocks during fsync 2013-10-31 16:01:03 +09:00
gc.c f2fs: introduce f2fs_balance_fs_bg for some background jobs 2013-10-25 16:54:38 +09:00
gc.h f2fs: optimize gc for better performance 2013-09-05 13:50:32 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inode.c f2fs: add an option to avoid unnecessary BUG_ONs 2013-10-29 15:44:38 +09:00
Kconfig f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control 2013-10-29 15:43:01 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
namei.c f2fs: fix writing incorrect orphan blocks 2013-10-08 10:19:28 +09:00
node.c f2fs: remove unnecessary TestClearPageError when wait pages writeback 2013-11-04 12:24:01 +09:00
node.h f2fs: fix the use of XATTR_NODE_OFFSET 2013-08-09 14:57:56 +09:00
recovery.c f2fs: add an option to avoid unnecessary BUG_ONs 2013-10-29 15:44:38 +09:00
segment.c f2fs: introduce a bio array for per-page write bios 2013-12-23 10:18:01 +09:00
segment.h f2fs: check all ones or zeros bitmap with bitops for better mount performance 2013-10-30 12:23:23 +09:00
super.c f2fs: introduce a bio array for per-page write bios 2013-12-23 10:18:01 +09:00
xattr.c f2fs: fix calculating incorrect free size when update xattr in __f2fs_setxattr 2013-10-29 15:56:08 +09:00
xattr.h f2fs: support the inline xattrs 2013-08-26 20:15:23 +09:00