Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yang, Bo <Bo.Yang@...>
Cc: <linux-scsi@...>, <James.Bottomley@...>, <akpm@...>, <linux-kernel@...>, Patro, Sumant <Sumant.Patro@...>
Date: Monday, October 1, 2007 - 1:50 pm

Yang, Bo wrote:

Binary attributes are generally used for data which cannot
be parsed by the user. Since this attribute is simply a
single decimal value, it makes most sense to just use a regular
class_device_attribute. Additionally, if you use the
existing shost_attrs infrastructure in the scsi_host_template,
you can simplify your code, since you don't need to manually
create and destroy the sysfs files as scsi core will do this for
you.

-Brian



-- 
Brian King
Linux on Power Virtualization
IBM Linux Technology Center
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_se..., Brian King, (Mon Oct 1, 1:50 pm)