nbd: only consume bytes on write path when sure we will use them
nbd: only consume bytes on write path when sure we will use them

cmusatyalab/gammaray,wenluhu/gammaray-android,wenluhu/gammaray-android,wenluhu/gammaray-android,cmusatyalab/gammaray,cmusatyalab/gammaray