[f2fs-dev] [PATCH] f2fs: split sbi-write_mutex for DATA/NODE/META to avoid unnecessary race

2013-11-18 Thread Chao Yu
All DATA/NODE/META bio buffers in superblock is protected by 'sbi-write_mutex', but each bio buffer area is independent, So we should split write_mutex to three for DATA/NODE/META. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h|2 +- fs/f2fs/segment.c |8

Re: [f2fs-dev] [PATCH] f2fs: split sbi-write_mutex for DATA/NODE/META to avoid unnecessary race

2013-11-18 Thread Jaegeuk Kim
Hi, I think we don't need to make two patches for this. How about this? From 71c27f78e72d680edcd7b1c0917842343044653c Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim jaegeuk@samsung.com Date: Mon, 18 Nov 2013 17:16:17 +0900 Subject: [PATCH] f2fs: use sbi-write_mutex for write bios This patch

Re: [f2fs-dev] [PATCH] f2fs: split sbi-write_mutex for DATA/NODE/META to avoid unnecessary race

2013-11-18 Thread Chao Yu
-write_mutex for DATA/NODE/META to avoid unnecessary race Hi, I think we don't need to make two patches for this. How about this? This could be reasonable, And I will refer to this patch. From 71c27f78e72d680edcd7b1c0917842343044653c Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim jaegeuk