All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] optimize f2fs IPU v2
@ 2017-04-22  9:22 Hou Pengyang
  2017-04-22  9:22 ` [PATCH 1/3] f2fs: reconstruct code to write a data page Hou Pengyang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Hou Pengyang @ 2017-04-22  9:22 UTC (permalink / raw)
  To: jaegeuk, chao, yuchao0; +Cc: linux-f2fs-devel

For IPU, there is no need to read dnode, these three patches are to fix this
issue.

patch 1): Reconstruct code in do_write_data_page, code logic stays unchanged,
patch 2): Under high-probability IPU scenario, we check extent_tree first
patch 3): Unlock dnode before IPU

v1->v2:
1) fix 
		if(f2fs_encrypt_page())
			XXX
	to 
		err = f2fs_encrypt_page() 
		if (err)
			XXX

	otherwise do_write_data_page would return a wrong return value.
		
2) extract need_in_place_block(fio, page) for IPU checking.

Hou Pengyang (3):
  f2fs: reconstruct code to write a data page
  f2fs: lookup extent cache first under IPU scenario
  f2fs: unlock dnode before IPU

 fs/f2fs/data.c | 109 ++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 84 insertions(+), 25 deletions(-)

-- 
2.10.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/3] optimize IPU
@ 2017-04-21  9:56 Hou Pengyang
  2017-04-21  9:56 ` [PATCH 1/3] f2fs: reconstruct code to write a data page Hou Pengyang
  0 siblings, 1 reply; 7+ messages in thread
From: Hou Pengyang @ 2017-04-21  9:56 UTC (permalink / raw)
  To: jaegeuk, chao; +Cc: linux-f2fs-devel

For IPU, there is no need to read dnode, these three patches are to fix this
issue.

patch 1): Reconstruct code in do_write_data_page, code logic stays unchanged,
patch 2): Under high-probability IPU scenario, we check extent_tree first
patch 3): Unlock dnode before IPU

Hou Pengyang (3):
  f2fs: reconstruct code to write a data page
  f2fs: lookup extent cache first under IPU scenario
  f2fs: unlock dnode before IPU

 fs/f2fs/data.c | 94 ++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 72 insertions(+), 22 deletions(-)

-- 
2.10.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-24 21:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22  9:22 [PATCH 0/3] optimize f2fs IPU v2 Hou Pengyang
2017-04-22  9:22 ` [PATCH 1/3] f2fs: reconstruct code to write a data page Hou Pengyang
2017-04-24 21:02   ` Jaegeuk Kim
2017-04-22  9:22 ` [PATCH 2/3] f2fs: lookup extent cache first under IPU scenario Hou Pengyang
2017-04-22  9:22 ` [PATCH 3/3] f2fs: unlock dnode before IPU Hou Pengyang
2017-04-24  6:55 ` [PATCH 0/3] optimize f2fs IPU v2 Chao Yu
  -- strict thread matches above, loose matches on Subject: below --
2017-04-21  9:56 [PATCH 0/3] optimize IPU Hou Pengyang
2017-04-21  9:56 ` [PATCH 1/3] f2fs: reconstruct code to write a data page Hou Pengyang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.