On Tue, Jul 02, 2019 at 07:32:40PM -0600, Jens Axboe wrote: > The issue is a discard request, 4kb, with a bio but no bi_io_vec. > The sync is a red herring, apart from the fact that it triggers > the ext4 discards. > > I'm guessing, when you tried to reproduce, that you didn't have discard > enabled? I didn't run with online discard, but I tried FITRIM (with XFS). I'll try looking into ext4. I remember we had some weird one offs in that area for the different ways the physical segments are calculated, so this makes sense. Off to dinner now, but I'll look into it tomorrow.