[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120525184827.GA8300@redhat.com>
Date: Fri, 25 May 2012 14:48:27 -0400
From: Vivek Goyal <vgoyal@...hat.com>
To: Boaz Harrosh <bharrosh@...asas.com>
Cc: Kent Overstreet <koverstreet@...gle.com>,
linux-kernel@...r.kernel.org, linux-bcache@...r.kernel.org,
dm-devel@...hat.com, linux-fsdevel@...r.kernel.org, tj@...nel.org,
axboe@...nel.dk, agk@...hat.com, neilb@...e.de,
drbd-dev@...ts.linbit.com, mpatocka@...hat.com, sage@...dream.net,
yehuda@...newdream.net
Subject: Re: [PATCH v2 11/14] block: Rework bio splitting
On Thu, May 24, 2012 at 07:56:03PM +0300, Boaz Harrosh wrote:
[..]
> In the split you have a single bio with or without bvects allocation
> should you not let the caller make sure not to set __GFP_WAIT.
>
> For me, inspecting current->bio_list is out of context and a complete
> hack. The caller should take care of it, which has more context.
>
> For example I might want to use split from OSD code where I do
> not use an elevator at all, and current->bio_list could belong
> to a completely different device. (Maybe)
FWIW, I too think that checking for current->bio_list in bio_split() sounds
hackish and it should be left to caller to set right gfp flags. And it should
be commented well.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists