All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Block fixes for 5.7-rc5
@ 2020-05-09  3:16 Jens Axboe
  2020-05-09 19:40 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2020-05-09  3:16 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-block

Hi Linus,

A few fixes that should go into this series:

- Small series fixing a use-after-free of bdi name (Christoph,Yufen)

- NVMe pull request, fixing a regression with the smaller CQ update and
  a hang at namespace scanning error recovery

- Fix race with blk-iocost iocg->abs_vdebt updates (Tejun)

Please pull!


  git://git.kernel.dk/linux-block.git tags/block-5.7-2020-05-08


----------------------------------------------------------------
Alexey Dobriyan (1):
      nvme-pci: fix "slimmer CQ head update"

Christoph Hellwig (3):
      vboxsf: don't use the source name in the bdi name
      bdi: move bdi_dev_name out of line
      bdi: add a ->dev_name field to struct backing_dev_info

Jens Axboe (1):
      Merge branch 'nvme-5.7' of git://git.infradead.org/nvme into block-5.7

Sagi Grimberg (1):
      nvme: fix possible hang when ns scanning fails during error recovery

Tejun Heo (1):
      iocost: protect iocg->abs_vdebt with iocg->waitq.lock

Yufen Yu (1):
      bdi: use bdi_dev_name() to get device name

 block/bfq-iosched.c              |   5 +-
 block/blk-cgroup.c               |   2 +-
 block/blk-iocost.c               | 117 ++++++++++++++++++++++++---------------
 drivers/nvme/host/core.c         |   2 +-
 drivers/nvme/host/pci.c          |   6 +-
 fs/ceph/debugfs.c                |   2 +-
 fs/vboxsf/super.c                |   2 +-
 include/linux/backing-dev-defs.h |   1 +
 include/linux/backing-dev.h      |   9 +--
 include/trace/events/wbt.h       |   8 +--
 mm/backing-dev.c                 |  13 ++++-
 tools/cgroup/iocost_monitor.py   |   7 ++-
 12 files changed, 106 insertions(+), 68 deletions(-)

-- 
Jens Axboe


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

* Re: [GIT PULL] Block fixes for 5.7-rc5
  2020-05-09  3:16 [GIT PULL] Block fixes for 5.7-rc5 Jens Axboe
@ 2020-05-09 19:40 ` Linus Torvalds
  2020-05-09 21:09   ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2020-05-09 19:40 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

On Fri, May 8, 2020 at 8:17 PM Jens Axboe <axboe@kernel.dk> wrote:
>
> A few fixes that should go into this series:

Jens, wtf?

This doesn't even build. Commit 0f6438fca125 ("bdi: use bdi_dev_name()
to get device name") results in

  In file included from ./include/linux/kernel.h:15,
                   from ./include/linux/list.h:9,
                   from ./include/linux/module.h:12,
                   from block/bfq-iosched.c:116:
  block/bfq-iosched.c: In function ‘bfq_set_next_ioprio_data’:
  block/bfq-iosched.c:4980:5: error: implicit declaration of function
‘bdi_dev_name’; did you mean ‘blkg_dev_name’?
[-Werror=implicit-function-declaration]
   4980 |     bdi_dev_name(bfqq->bfqd->queue->backing_dev_info),
        |     ^~~~~~~~~~~~
  ./include/linux/printk.h:299:33: note: in definition of macro ‘pr_err’
    299 |  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
        |                                 ^~~~~~~~~~~
  In file included from ./include/linux/printk.h:7,
                   from ./include/linux/kernel.h:15,
                   from ./include/linux/list.h:9,
                   from ./include/linux/module.h:12,
                   from block/bfq-iosched.c:116:
  ./include/linux/kern_levels.h:5:18: warning: format ‘%s’ expects
argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
      5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
        |                  ^~~~~~
  ./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
     11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
        |                  ^~~~~~~~
  ./include/linux/printk.h:299:9: note: in expansion of macro ‘KERN_ERR’
    299 |  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
        |         ^~~~~~~~
  block/bfq-iosched.c:4979:3: note: in expansion of macro ‘pr_err’
   4979 |   pr_err("bdi %s: bfq: bad prio class %d\n",
        |   ^~~~~~
  cc1: some warnings being treated as errors
  make[1]: *** [scripts/Makefile.build:267: block/bfq-iosched.o] Error 1
  make: *** [Makefile:1722: block] Error 2

and no, it's not a merge error - at least not one by me. I tested the
tip-of-tree that you sent me, at commit ded3148fc653.

So that build error exists in your branch.

Unpulled. Get testing, and don't send me garbage.

              Linus

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

* Re: [GIT PULL] Block fixes for 5.7-rc5
  2020-05-09 19:40 ` Linus Torvalds
@ 2020-05-09 21:09   ` Jens Axboe
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2020-05-09 21:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-block

On 5/9/20 1:40 PM, Linus Torvalds wrote:
> On Fri, May 8, 2020 at 8:17 PM Jens Axboe <axboe@kernel.dk> wrote:
>>
>> A few fixes that should go into this series:
> 
> Jens, wtf?
> 
> This doesn't even build. Commit 0f6438fca125 ("bdi: use bdi_dev_name()
> to get device name") results in
> 
>   In file included from ./include/linux/kernel.h:15,
>                    from ./include/linux/list.h:9,
>                    from ./include/linux/module.h:12,
>                    from block/bfq-iosched.c:116:
>   block/bfq-iosched.c: In function ‘bfq_set_next_ioprio_data’:
>   block/bfq-iosched.c:4980:5: error: implicit declaration of function
> ‘bdi_dev_name’; did you mean ‘blkg_dev_name’?
> [-Werror=implicit-function-declaration]
>    4980 |     bdi_dev_name(bfqq->bfqd->queue->backing_dev_info),
>         |     ^~~~~~~~~~~~
>   ./include/linux/printk.h:299:33: note: in definition of macro ‘pr_err’
>     299 |  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
>         |                                 ^~~~~~~~~~~
>   In file included from ./include/linux/printk.h:7,
>                    from ./include/linux/kernel.h:15,
>                    from ./include/linux/list.h:9,
>                    from ./include/linux/module.h:12,
>                    from block/bfq-iosched.c:116:
>   ./include/linux/kern_levels.h:5:18: warning: format ‘%s’ expects
> argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
>       5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
>         |                  ^~~~~~
>   ./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
>      11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
>         |                  ^~~~~~~~
>   ./include/linux/printk.h:299:9: note: in expansion of macro ‘KERN_ERR’
>     299 |  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
>         |         ^~~~~~~~
>   block/bfq-iosched.c:4979:3: note: in expansion of macro ‘pr_err’
>    4979 |   pr_err("bdi %s: bfq: bad prio class %d\n",
>         |   ^~~~~~
>   cc1: some warnings being treated as errors
>   make[1]: *** [scripts/Makefile.build:267: block/bfq-iosched.o] Error 1
>   make: *** [Makefile:1722: block] Error 2
> 
> and no, it's not a merge error - at least not one by me. I tested the
> tip-of-tree that you sent me, at commit ded3148fc653.
> 
> So that build error exists in your branch.
> 
> Unpulled. Get testing, and don't send me garbage.

Gah, sorry about that, not sure how this went undetected. I'll
redo the pull request.

-- 
Jens Axboe


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

end of thread, other threads:[~2020-05-09 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09  3:16 [GIT PULL] Block fixes for 5.7-rc5 Jens Axboe
2020-05-09 19:40 ` Linus Torvalds
2020-05-09 21:09   ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.