diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2012-05-07 13:04:03 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:58:28 +0100 |
commit | f66ee69746f6413cae41bdc8b26260e653f62402 (patch) | |
tree | 443a6380ff790fbd1580284b9fe90eb4907aab45 /scripts | |
parent | a220d291804233e3a5e3425abf79fa1e62e7bd35 (diff) |
drbd: bm_page_async_io: properly initialize page->private
If bm_page_async_io is advised to use a new page for I/O
(BM_AIO_COPY_PAGES is set), it will get it from a mempool.
Once the mempool has to dip into its reserves the page is
not reinitialized, i.e. page->private contains garbage, which
will lead to various problems once the I/O completes (dereferences
of NULL pointers, the submitting thread getting stuck in D-state,
...).
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions