Jaegeuk Kim
393ff91f57
f2fs: reduce unncessary locking pages during read
...
This patch reduces redundant locking and unlocking pages during read operations.
In f2fs_readpage, let's use wait_on_page_locked() instead of lock_page.
And then, when we need to modify any data finally, let's lock the page so that
we can avoid lock contention.
[readpage rule]
- The f2fs_readpage returns unlocked page, or released page too in error cases.
- Its caller should handle read error, -EIO, after locking the page, which
indicates read completion.
- Its caller should check PageUptodate after grab_cache_page.
Signed-off-by: Changman Lee <cm224.lee@samsung.com >
Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com >
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com >
2013-03-20 18:30:06 +09:00
..
2013-03-03 13:23:03 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-26 20:16:07 -08:00
2013-03-01 12:04:39 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-03-03 13:13:20 -08:00
2012-12-20 22:34:00 +00:00
2013-02-28 17:43:09 -08:00
2013-03-01 12:05:13 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-01-17 19:48:18 -08:00
2013-01-26 22:22:21 -08:00
2013-02-27 19:10:24 -08:00
2013-03-07 12:47:24 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-03-03 13:23:03 -08:00
2013-03-20 18:30:06 +09:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 16:59:05 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:10 -08:00
2013-02-22 23:31:37 -05:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 02:45:52 -05:00
2013-02-26 02:46:10 -05:00
2013-01-14 22:50:45 +01:00
2013-03-02 17:08:46 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-28 18:02:55 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-03-02 16:46:07 -08:00
2013-02-13 06:15:14 -08:00
2013-02-28 18:02:55 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:11 -08:00
2013-02-21 09:38:18 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2012-12-13 16:33:24 +01:00
2013-02-26 20:16:07 -08:00
2013-02-26 02:46:10 -05:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-26 02:46:11 -05:00
2012-11-20 04:17:24 -08:00
2012-12-17 17:15:12 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-03-03 12:06:09 -08:00
2012-12-17 17:15:23 -08:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2012-12-20 17:40:19 -08:00
2012-11-28 21:53:38 -05:00
2013-01-14 15:00:36 +01:00
2013-02-28 12:52:24 -08:00
2013-02-28 12:52:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-03 15:09:25 -05:00
2013-02-27 19:10:11 -08:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:36 -05:00
2012-12-17 17:15:27 -08:00
2013-01-02 09:16:43 -08:00
2013-02-27 19:10:11 -08:00
2013-02-22 23:31:31 -05:00
2012-12-20 14:04:11 -08:00
2013-03-01 19:48:30 -05:00
2013-02-19 08:42:45 +01:00
2013-03-01 23:51:07 -05:00
2013-02-28 13:21:44 -08:00
2013-02-27 19:10:24 -08:00
2013-03-01 23:51:07 -05:00
2013-02-22 23:31:31 -05:00
2013-01-17 13:08:45 +01:00
2012-12-20 18:46:29 -05:00
2013-02-22 23:31:31 -05:00
2012-12-11 13:43:42 +09:00
2012-11-20 04:19:49 -08:00
2013-03-01 23:51:07 -05:00
2013-02-22 23:31:31 -05:00
2013-03-03 13:23:03 -08:00
2013-02-22 23:31:32 -05:00
2012-11-19 05:59:20 -08:00
2013-03-02 08:34:06 -08:00
2013-02-22 23:31:31 -05:00
2013-02-07 20:51:08 +01:00
2013-03-03 13:23:03 -08:00
2012-12-17 17:15:27 -08:00
2013-02-26 02:46:11 -05:00
2013-02-26 02:46:08 -05:00
2012-12-20 18:50:07 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-03-02 09:35:13 -05:00
2012-12-20 18:50:08 -05:00
2012-12-20 18:50:11 -05:00