linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: Hung task timeouts in for-4.10/dio
@ 2016-11-08 18:16 Logan Gunthorpe
  2016-11-08 18:21 ` Jens Axboe
  0 siblings, 1 reply; 23+ messages in thread
From: Logan Gunthorpe @ 2016-11-08 18:16 UTC (permalink / raw)
  To: Jens Axboe, Christoph Hellwig; +Cc: linux-block, Stephen Bates

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Hi guys,

We were looking at testing the new IO polling improvements and we built
a kernel from the 'for-4.10/dio' (64ead7d) branch in linux-block.
However this branch seems to cause hung tasks when booted. Most
noticeably, dhclient seems to always hang as it tries to read from it's
leases file, and that means networking does not work on the computers we
tested on. Other tasks seemed to hang occasionally and randomly.

We tested on two machines with radically different hardware but both
running Debian Jessie.  (One is a dual-socket server system with the
root FS on an HDD and the other is an off the shelf commodity
motherboard with root on an SSD.)

We performed a bisect to find the culprit commit to be:

[b685d3d65ac791406e0dfd8779cc9b3707fea5a3] block: treat REQ_FUA and
REQ_PREFLUSH as synchronous

I've attached a bisect log.

Thanks,

Logan

[-- Attachment #2: block-bisect.log --]
[-- Type: text/x-log, Size: 1346 bytes --]

git bisect start
# good: [1001354ca34179f3db924eb66672442a173147dc] Linux 4.9-rc1
git bisect good 1001354ca34179f3db924eb66672442a173147dc
# bad: [64ead7d24b34ed40e85577e9be8bd203835e57c4] blk-mq: make the polling code adaptive
git bisect bad 64ead7d24b34ed40e85577e9be8bd203835e57c4
# bad: [70fd76140a6cb63262bd47b68d57b42e889c10ee] block,fs: use REQ_* flags directly
git bisect bad 70fd76140a6cb63262bd47b68d57b42e889c10ee
# good: [2552e3f878c2b43b41d7728a328821d8220c28da] blk-mq: get rid of confusing blk_map_ctx structure
git bisect good 2552e3f878c2b43b41d7728a328821d8220c28da
# good: [aa39ebd404423e62f74cfd3e27e9ffe7e38b2a25] cfq-iosched: use op_is_sync instead of opencoding it
git bisect good aa39ebd404423e62f74cfd3e27e9ffe7e38b2a25
# good: [67f055c798c72c49ee0c844eae0cd6e9c83b1b16] btrfs: use op_is_sync to check for synchronous requests
git bisect good 67f055c798c72c49ee0c844eae0cd6e9c83b1b16
# bad: [b685d3d65ac791406e0dfd8779cc9b3707fea5a3] block: treat REQ_FUA and REQ_PREFLUSH as synchronous
git bisect bad b685d3d65ac791406e0dfd8779cc9b3707fea5a3
# good: [6f6b29171a192e84b666c816e49d2175afbbb09f] block: don't use REQ_SYNC in the READ_SYNC definition
git bisect good 6f6b29171a192e84b666c816e49d2175afbbb09f
# first bad commit: [b685d3d65ac791406e0dfd8779cc9b3707fea5a3] block: treat REQ_FUA and REQ_PREFLUSH as synchronous

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

end of thread, other threads:[~2016-11-09 17:03 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 18:16 BUG: Hung task timeouts in for-4.10/dio Logan Gunthorpe
2016-11-08 18:21 ` Jens Axboe
2016-11-08 18:59   ` Logan Gunthorpe
2016-11-08 19:01     ` Jens Axboe
2016-11-08 19:03       ` Logan Gunthorpe
2016-11-08 19:19         ` Jens Axboe
2016-11-08 19:47           ` Logan Gunthorpe
2016-11-08 19:50             ` Jens Axboe
     [not found]               ` <84693d82-b8dc-42b3-03da-055def7499a0@deltatee.com>
2016-11-08 20:21                 ` Jens Axboe
2016-11-08 21:08                   ` Mike Snitzer
2016-11-09  0:50                   ` Damien Le Moal
2016-11-09  1:09                     ` Christoph Hellwig
2016-11-09  1:25                       ` Damien Le Moal
2016-11-09  1:28                         ` Jens Axboe
2016-11-09  2:02                           ` Jens Axboe
2016-11-09  2:05                             ` Christoph Hellwig
2016-11-09  2:11                               ` Jens Axboe
2016-11-09  2:17                             ` Damien Le Moal
2016-11-09  2:38                               ` Jens Axboe
2016-11-09  2:40                                 ` Christoph Hellwig
2016-11-09  2:45                                   ` Jens Axboe
2016-11-09  2:55                                     ` Damien Le Moal
2016-11-09 17:03                                       ` Logan Gunthorpe

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).