Re: [PATCH 4/4] disk-protect: Add a generic block layer queue freezing facility

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-ide@...>
Cc: Alan Cox <alan@...>, <linux-kernel@...>, Jens Axboe <jens.axboe@...>
Date: Monday, March 17, 2008 - 7:00 pm

Elias Oltmanns <eo@nebensachen.de> wrote:
[...]

Come to think of it, the lock really shouldn't be released between
modding / checking the timer and issuing the respective command. This
makes the whole thing a bit messy because allocating a request the
standard way is done before acquiring the spin_lock. Since we don't know
at that time whether a command is actually going to be enqueued, this
looks rather suboptimal to me. A better idea anyone?

Regards,

Elias
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/4] disk-protect: Add a generic block layer queu..., Elias Oltmanns, (Mon Mar 17, 7:00 pm)