lkml.org 
[lkml]   [2007]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: libata passthru: support PIO multi commands
Alan Cox wrote:
>> + if (is_multi_taskfile(tf)) {
>> + unsigned int multi_count = 1 << (cdb[1] >> 5);
>> +
>> + /* compare the passed through multi_count
>> + * with the cached multi_count of libata
>> + */
>> + if (multi_count != dev->multi_count)
>> + ata_dev_printk(dev, KERN_WARNING,
>> + "invalid multi_count %u ignored\n",
>> + multi_count);
>> + }
>
> What limits log spamming here ?

Intelligence of the user with privs?


> Also shouldn't we error this
> situation not proceed and hope that enough data was supplied not
> to leave us stuck half way through a command having made a nasty
> mess on disk ?

Is that English? Can you be more specific and more clear?

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-12 02:11    [W:1.183 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site