blockjob.c (ea1329bb3a8d5cd25b70e3dbf73e7ded4d5ad756) | blockjob.c (bd86fb990cfedc50d9705b8ed31d183f01942035) |
---|---|
1/* 2 * QEMU System Emulator block driver 3 * 4 * Copyright (c) 2011 IBM Corp. 5 * Copyright (c) 2012 Red Hat, Inc. 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 149 unchanged lines hidden (view full) --- 158 } 159 *ignore = g_slist_prepend(*ignore, sibling); 160 bdrv_set_aio_context_ignore(sibling->bs, ctx, ignore); 161 } 162 163 job->job.aio_context = ctx; 164} 165 | 1/* 2 * QEMU System Emulator block driver 3 * 4 * Copyright (c) 2011 IBM Corp. 5 * Copyright (c) 2012 Red Hat, Inc. 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 149 unchanged lines hidden (view full) --- 158 } 159 *ignore = g_slist_prepend(*ignore, sibling); 160 bdrv_set_aio_context_ignore(sibling->bs, ctx, ignore); 161 } 162 163 job->job.aio_context = ctx; 164} 165 |
166static const BdrvChildRole child_job = { | 166static const BdrvChildClass child_job = { |
167 .get_parent_desc = child_job_get_parent_desc, 168 .drained_begin = child_job_drained_begin, 169 .drained_poll = child_job_drained_poll, 170 .drained_end = child_job_drained_end, 171 .can_set_aio_ctx = child_job_can_set_aio_ctx, 172 .set_aio_ctx = child_job_set_aio_ctx, 173 .stay_at_node = true, 174}; --- 342 unchanged lines hidden --- | 167 .get_parent_desc = child_job_get_parent_desc, 168 .drained_begin = child_job_drained_begin, 169 .drained_poll = child_job_drained_poll, 170 .drained_end = child_job_drained_end, 171 .can_set_aio_ctx = child_job_can_set_aio_ctx, 172 .set_aio_ctx = child_job_set_aio_ctx, 173 .stay_at_node = true, 174}; --- 342 unchanged lines hidden --- |