lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/3] resources: add interfaces that return conflict information
On Thu, 11 Mar 2010 17:01:09 -0700
Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:

>
> request_resource() and insert_resource() only return success or failure,
> which no information about what existing resource conflicted with the
> proposed new reservation. This patch adds request_resource_conflict()
> and insert_resource_conflict(), which return the conflicting resource.
>
> Callers may use this for better error messages or to adjust the new
> resource and retry the request.
>
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
> ---
>

Applied this series to my for-linus branch, thanks.

--
Jesse Barnes, Intel Open Source Technology Center


\
 
 \ /
  Last update: 2010-03-19 21:49    [W:0.106 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site