Re: [PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data

2017-05-21 Thread Christoph Hellwig
On Thu, May 11, 2017 at 12:30:32AM -0700, Christoph Hellwig wrote: > Jens, can you pick this up for 4.12? ping? > On Wed, May 10, 2017 at 07:20:44PM +0400, Dmitry Monakhov wrote: > > If bio has no data, such as ones from blkdev_issue_flush(), > > then we have nothing to protect. > > > > This

[PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data

2017-05-10 Thread Dmitry Monakhov
If bio has no data, such as ones from blkdev_issue_flush(), then we have nothing to protect. This patch prevent bugon like follows: kfree_debugcheck: out of range ptr ac1fa1d106742a5ah kernel BUG at mm/slab.c:2773! invalid opcode: [#1] SMP Modules linked in: bcache CPU: 0 PID: 4428 Comm:

Re: [PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data

2017-04-19 Thread Martin K. Petersen
Dmitry Monakhov writes: > If bio has no data, such as ones from blkdev_issue_flush(), > then we have nothing to protect. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data

2017-04-05 Thread Hannes Reinecke
On 04/04/2017 08:56 PM, Dmitry Monakhov wrote: > If bio has no data, such as ones from blkdev_issue_flush(), > then we have nothing to protect. > > This patch prevent bugon like follows: > > kfree_debugcheck: out of range ptr ac1fa1d106742a5ah > kernel BUG at mm/slab.c:2773! > invalid opcode:

[PATCH 1/9] bio-integrity: Do not allocate integrity context for bio w/o data

2017-04-04 Thread Dmitry Monakhov
If bio has no data, such as ones from blkdev_issue_flush(), then we have nothing to protect. This patch prevent bugon like follows: kfree_debugcheck: out of range ptr ac1fa1d106742a5ah kernel BUG at mm/slab.c:2773! invalid opcode: [#1] SMP Modules linked in: bcache CPU: 0 PID: 4428 Comm: