Re: [PATCH 0/3] cmd_filter fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 31, 2008 at 01:55:31PM +0900, FUJITA Tomonori wrote:
> Someone might think that it would be better if we can change the
> filter without specifying all the accepted commands. For example, we
> could do like:
> 
> clover:/sys/block/cciss!c0d0/cmd_filter# cat read_table
> 03 08 12 1a 1b 1c
> 
> clover:/sys/block/cciss!c0d0/cmd_filter# echo 02 > read_table_on
> 02 03 08 12 1a 1b 1c
> 
> But I don't have strong opinions about it.

We need to be able to delete as well as add.

We could have a scheme in which:

echo -- "-03" >read_table
cat read_table
08 12 1a 1b 1c

echo -- "+02 +07 +08" >read_table
cat read_table
02 07 08 12 1a 1b 1c

The + could be implicit.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux