From: Joe Thornber Subject: [PATCH 1/2] [device-mapper] Document the fact that iterate_device method shouldn't block. Date: Fri, 21 Oct 2011 11:19:34 +0100 Message-ID: <1319192375-5048-1-git-send-email-ejt@redhat.com> References: <20111021092800.GB4393@ubuntu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111021092800.GB4393@ubuntu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com Cc: Joe Thornber , mpatocka@redhat.com List-Id: dm-devel.ids --- include/linux/device-mapper.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index aa09503..8ceb13a 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -148,6 +148,10 @@ struct target_type { dm_ioctl_fn ioctl; dm_merge_fn merge; dm_busy_fn busy; + + /* + * iterate_devices must not block. + */ dm_iterate_devices_fn iterate_devices; dm_io_hints_fn io_hints; -- 1.7.5.4