linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] lightnvm: pblk: refactor init/exit sequences
@ 2018-03-01 15:59 Javier González
  2018-03-01 15:59 ` [PATCH] " Javier González
  0 siblings, 1 reply; 9+ messages in thread
From: Javier González @ 2018-03-01 15:59 UTC (permalink / raw)
  To: mb; +Cc: linux-block, linux-kernel, dan.carpenter, Javier González

# Changes since V1
  - Remove double check for factory initialization

The init/exit sequences have grown in a very bad way. Refactor them to
eliminate dependencies across initialization modules.

One of these dependencies caused a bad double free when introducing a
preparation patch for 2.0 bad block identification. This was reported by
Dan Carpenter and 0-DAY.

Matias,

Since you have not send the PR to Jens, please squash this patch with:
    lightnvm: pblk: refactor bad block identification

You will notice that I had queued this patch on the 2.0 series. I did
the rebase now, which is probably what I should have done from the
beginning. Since I'll be sending a V5 for it, this should not be a
problem.

Thanks,
Javier

Javier González (1):
  lightnvm: pblk: refactor init/exit sequences

 drivers/lightnvm/pblk-init.c | 415 +++++++++++++++++++++----------------------
 1 file changed, 206 insertions(+), 209 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-03-05 18:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01 15:59 [PATCH V2] lightnvm: pblk: refactor init/exit sequences Javier González
2018-03-01 15:59 ` [PATCH] " Javier González
2018-03-01 18:49   ` Matias Bjørling
2018-03-01 19:29     ` Javier González
2018-03-05 13:38       ` Matias Bjørling
2018-03-05 13:45         ` Javier González
2018-03-05 14:16           ` Matias Bjørling
2018-03-05 14:18             ` Javier González
2018-03-05 18:27               ` Matias Bjørling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).