Re: [PATCH 2/2] f2fs: use sbi->wr_mutex for write bios

From: Jaegeuk Kim
Date: Mon Nov 18 2013 - 04:31:01 EST


Hi Gu,

2013-11-18 (ì), 17:21 +0800, Gu Zheng:
> Hi Kim,
> On 11/18/2013 05:12 PM, Jaegeuk Kim wrote:
>
> > This patch removes an unnecessary semaphore (i.e., sbi->bio_sem).
> > There is no reason to use the semaphore when f2fs submits read and write IOs.
> > Instead, let's use a write mutex and cover the sbi->bio[] by the lock.
>
> My god, I just sent out an almost the same patch, do we have a telepathy?:)

Wow, it seems so. :)

--
Jaegeuk Kim
Samsung

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/