Hi Jin, 2013-08-07 (수), 12:23 +0800, Jim Xu: > Hi Kim, > > The patch sounds good to me. > > BTW, as in the deadlock situation I noticed, I did not find any thread was > doing checkpoint at that moment. The bdi writeback thread and the fsync user > thread was not. Neither was the background f2fs_gc thread because there had > enough free segments. Meanwhile, another user thread was blocked in the > f2fs_sync_file->sync_node_pages, which, I think, is not a factor contributing > to the deadlock.
I indicated one possible scenario. As you described, many fsync calls can also consume all the fs_lock too. Thanks, -- Jaegeuk Kim Samsung ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel