Alasdair G Kergon
d136f2efdf
dm kcopyd: fix job_pool leak
...
Fix memory leak introduced by commit a6e50b409d
(dm snapshot: skip reading origin when overwriting complete chunk).
When allocating a set of jobs from kc->job_pool, job->master_job must be
set (to point to itself) so that the mempool item gets freed when the
master_job completes.
master_job was introduced by commit c6ea41fbbe
(dm kcopyd: preallocate sub jobs to avoid deadlock)
Reported-by: Michael Leun <ml@newton.leun.net >
Cc: Mikulas Patocka <mpatocka@redhat.com >
Signed-off-by: Alasdair G Kergon <agk@redhat.com >
2011-10-23 20:55:17 +01:00
..
2011-07-27 11:00:37 +10:00
2011-07-27 11:00:37 +10:00
2009-04-02 19:55:23 +01:00
2011-09-25 23:26:21 +01:00
2011-01-13 19:59:57 +00:00
2010-08-12 04:13:51 +01:00
2010-08-12 04:13:51 +01:00
2011-09-25 23:26:15 +01:00
2011-08-02 12:32:01 +01:00
2011-08-02 12:32:06 +01:00
2011-10-23 20:55:17 +01:00
2010-08-12 04:14:11 +01:00
2011-08-02 12:32:02 +01:00
2011-03-03 13:32:07 -08:00
2009-09-04 20:40:34 +01:00
2011-08-02 12:32:02 +01:00
2011-08-02 12:32:04 +01:00
2008-10-10 13:36:58 +01:00
2009-04-02 19:55:27 +01:00
2009-06-22 10:12:27 +01:00
2011-07-26 16:49:47 -07:00
2011-05-29 13:03:13 +01:00
2011-09-25 23:26:19 +01:00
2011-03-31 11:26:23 -03:00
2009-06-22 10:12:27 +01:00
2010-03-30 22:02:32 +09:00
2011-08-02 12:32:03 +01:00
2009-12-10 23:52:12 +00:00
2011-08-02 12:32:04 +01:00
2011-03-24 13:54:35 +00:00
2010-03-07 17:04:49 -08:00
2011-09-25 23:26:21 +01:00
2010-08-12 04:14:14 +01:00
2010-03-06 02:29:52 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-08-02 12:32:08 +01:00
2011-08-02 12:32:04 +01:00
2011-03-31 11:26:23 -03:00
2011-08-02 12:32:07 +01:00
2011-07-20 11:05:29 -07:00
2011-08-25 14:43:53 +10:00
2011-03-24 13:54:24 +00:00
2011-09-21 15:30:20 +10:00
2011-09-21 15:30:20 +10:00
2011-09-21 15:30:20 +10:00
2011-05-11 14:38:02 +10:00
2011-03-17 11:11:05 +01:00
2010-06-24 13:33:24 +10:00
2011-09-21 15:30:20 +10:00
2011-07-28 11:32:41 +10:00
2011-09-21 15:30:20 +10:00
2011-07-28 11:39:23 +10:00
2011-09-21 15:30:20 +10:00
2011-07-28 11:39:24 +10:00