From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: INFO: task hung in blk_queue_enter To: Tetsuo Handa , syzkaller-bugs@googlegroups.com Cc: syzbot , linux-block@vger.kernel.org, Dan Williams , Jens Axboe , linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, dvyukov@google.com, Bart Van Assche , Christoph Hellwig , Hannes Reinecke , Johannes Thumshirn , Keith Busch , "Martin K. Petersen" , Martin Steigerwald , Ming Lei , Oleksandr Natalenko , Ross Zwisler References: <0000000000009b212b056ae6dbad@google.com> <343bbbf6-64eb-879e-d19e-96aebb037d47@I-love.SAKURA.ne.jp> From: Alan Jenkins Message-ID: <0609ee2b-fbb6-9122-918a-cc2172ee2cfa@gmail.com> Date: Wed, 16 May 2018 18:33:36 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed List-ID: > jbd2/sda1-8(PID=2271) is stuck waiting for journal commit operation. > I don't know how this thread is involved to this problem. It feels like it should be a necessary link in the chain. This is the filesystem underneath the loop device. If that hangs, we would expect the loop device to hang, but not vice versa. AIUI, you couldn't reproduce this hang on your own machine. Don't you think, your fuzzer has just found a nice exploit for reiserfs? Alan (It's interesting that you found this hang just after we fixed block_queue_enter() to wait in D state instead of S state.[1]  I don't know syszkaller, so I assume from this it only flagged this case up because of the hung task warning. I.e. syzkaller didn't have its own watchdog that would have failed the test anyway. [1] the commit that caused you to CC me. "block: do not use interruptible wait anywhere" https://github.com/torvalds/linux/commit/1dc3039bc87ae7d19a990c3ee71cfd8a9068f428 )