Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1168565
| From | Christoph Hellwig <hch@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: WARNING: at fs/block_dev.c:5 when removing LV on removed device |
| Date | 2015-06-19 08:50 +0200 |
| Message-ID | <pCYhI-82R-13@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <pCMqe-7Fz-23@gated-at.bofh.it> <pCMqe-7Fz-21@gated-at.bofh.it> <pCMzT-7T1-11@gated-at.bofh.it> <pCNmj-E4-35@gated-at.bofh.it> <pCNFE-10E-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jun 18, 2015 at 03:28:21PM -0400, Mike Snitzer wrote: > > WARN_ON_ONCE(write_inode_now(inode, true)) > > > > If we failed to write back inode, then warning about it sounds right? > > A warning is fine.. not a WARN_ON(). Pretty alarming backtrace spew but > maybe I'm missing something and DM's blkdev refcount mgmt couldn't > trigger this WARN_ON()? I fail to see how to avoid it given the device > isn't thre so write_inode_now() fails. > > > What's wrong with that? Should it be just a kernel log of level KERN_WARN > > instead? > > Ideally, but I honestly don't have all the details paged in my head to > say definitively. First need to answer how vitrio-blk isn't hitting > this (and DM is). Could it be that __blkdev_put isn't getting called > for virtio-blk!? Just a warnings if fine. In fact we can probably remove that as well as it will happen after a hot removal all the time. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: WARNING: at fs/block_dev.c:5 when removing LV on removed device Mike Snitzer <snitzer@redhat.com> - 2015-06-18 21:30 +0200 Re: WARNING: at fs/block_dev.c:5 when removing LV on removed device Christoph Hellwig <hch@lst.de> - 2015-06-19 08:50 +0200
csiph-web