Re: [f2fs-dev] [PATCH] f2fs: use lock-less list(llist) to simplify the flush cmd management

2014-09-05 Thread Gu Zheng
l@vger.kernel.org; >> linux-f2fs-de...@lists.sourceforge.net >> Subject: [f2fs-dev] [PATCH] f2fs: use lock-less list(llist) to simplify the >> flush cmd management >> >> We use flush cmd control to collect many flush cmds, and flush them >> together. In this case, we use two list

RE: [f2fs-dev] [PATCH] f2fs: use lock-less list(llist) to simplify the flush cmd management

2014-09-05 Thread Chao Yu
] f2fs: use lock-less list(llist) to simplify the > flush cmd management > > We use flush cmd control to collect many flush cmds, and flush them > together. In this case, we use two list to manage the flush cmds > (collect and dispatch), and one spin lock is used to protect this. >