On Wed, May 9, 2012 at 2:05 PM, wrote:
>
>> +static bool mmc_can_do_foreground_hpi(struct mmc_queue *mq,
>> + struct request *req, unsigned int thpi)
>> +{
>> +
>> + /*
>> + * If some time has elapsed since the issuing of previous write
>> + * command, or if the
On Wednesday 09 May 2012, kdorf...@codeaurora.org wrote:
> > +static bool mmc_can_do_foreground_hpi(struct mmc_queue *mq,
> > + struct request *req, unsigned int thpi)
> > +{
> > +
> > + /*
> > + * If some time has elapsed since the issuing of previous write
> > +
> +static bool mmc_can_do_foreground_hpi(struct mmc_queue *mq,
> + struct request *req, unsigned int thpi)
> +{
> +
> + /*
> + * If some time has elapsed since the issuing of previous write
> + * command, or if the size of the request was too small, there's
> +
Intercept command which require high priority treatment.
If the ongoing command can be preempted according to JEDEC HPI
definition and sufficient window exist to complete an ongoing
request, invoke HPI and abort the current request, and issue
the high priority request.
Otherwise, process the comman