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

2013-11-18 Thread Chao Yu
] [PATCH] f2fs: split sbi->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 71c27f78e72d680edcd7b

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 Date: Mon, 18 Nov 2013 17:16:17 +0900 Subject: [PATCH] f2fs: use sbi->write_mutex for write bios This patch removes an unnecessary

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

2013-11-18 Thread Jaegeuk Kim
Hi, 2013-11-19 (화), 09:43 +0800, 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. Agreed, one comment below though. Anyway I'll send v2. Thanks,

[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 --- fs/f2fs/f2fs.h|2 +- fs/f2fs/segment.c |8 fs/f2fs/super.c |

[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, 2013-11-19 (화), 09:43 +0800, 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. Agreed, one comment below though. Anyway I'll send v2. Thanks, :)

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