On 06/30/2017 09:56 AM, Javier González wrote: > Hi Jens, > > Here you have a second round of fixes for pblk. They are in essence bug > fixes including a double-free reported by Dan. > > There is also regression fix for pblk removal, which was introduced with > the new metadata scheduler. This fix makes that removing a pblk instance > takes again at most 2 seconds. > > Finally, I also included a patch for double checking the L2P to verify a > cache hit before reading from the write cache. We have experienced a > database not issuing fsync before reading recently written metadata > triggering a bad cache read. We verified it this week. This patch is an > easy fix that we can make in pblk. Applied for 4.13, thanks. -- Jens Axboe