Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-12-06 Thread Swen Schillig
On Monday 26 November 2007 11:23, Swen Schillig wrote: > On Sunday 25 November 2007 12:16, James Bottomley wrote: > > > > On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote: > > > From: Swen Schillig <[EMAIL PROTECTED]> > > > > > > add some statistics provided by the zFCP adapter to the

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-12-06 Thread Swen Schillig
On Monday 26 November 2007 11:23, Swen Schillig wrote: On Sunday 25 November 2007 12:16, James Bottomley wrote: On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote: From: Swen Schillig [EMAIL PROTECTED] add some statistics provided by the zFCP adapter to the sysfs The new

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-26 Thread Swen Schillig
On Sunday 25 November 2007 12:16, James Bottomley wrote: > > On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote: > > From: Swen Schillig <[EMAIL PROTECTED]> > > > > add some statistics provided by the zFCP adapter to the sysfs > > > > The new zFCP adapter statistics provide a variety of

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-26 Thread Swen Schillig
On Sunday 25 November 2007 12:16, James Bottomley wrote: On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote: From: Swen Schillig [EMAIL PROTECTED] add some statistics provided by the zFCP adapter to the sysfs The new zFCP adapter statistics provide a variety of information

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-25 Thread James Bottomley
On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote: > From: Swen Schillig <[EMAIL PROTECTED]> > > add some statistics provided by the zFCP adapter to the sysfs > > The new zFCP adapter statistics provide a variety of information > about the virtual adapter (subchannel). In order to collect

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-25 Thread James Bottomley
On Wed, 2007-10-31 at 11:33 +0100, Swen Schillig wrote: From: Swen Schillig [EMAIL PROTECTED] add some statistics provided by the zFCP adapter to the sysfs The new zFCP adapter statistics provide a variety of information about the virtual adapter (subchannel). In order to collect this

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-05 Thread Swen Schillig
On Saturday 03 November 2007 10:17, Heiko Carstens wrote: > > +static void zfcp_fsf_req_latency(struct zfcp_fsf_req *fsf_req) > > +{ > > + struct fsf_qual_latency_info *lat_inf; > > + struct zfcp_unit *unit; > > + > > + lat_inf = _req->qtcb->prefix.prot_status_qual.latency_info; > > + unit

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-05 Thread Swen Schillig
On Saturday 03 November 2007 10:40, Heiko Carstens wrote: > > > + if (!(adapter->adapter_features & FSF_FEATURE_MEASUREMENT_DATA)) { > > > + ZFCP_LOG_NORMAL("error: Enhanced measurement feature not " > > > + "supported"); > > > + return -EOPNOTSUPP; > > > +

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-05 Thread Swen Schillig
On Saturday 03 November 2007 10:40, Heiko Carstens wrote: + if (!(adapter-adapter_features FSF_FEATURE_MEASUREMENT_DATA)) { + ZFCP_LOG_NORMAL(error: Enhanced measurement feature not + supported); + return -EOPNOTSUPP; + } Btw. any user

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-05 Thread Swen Schillig
On Saturday 03 November 2007 10:17, Heiko Carstens wrote: +static void zfcp_fsf_req_latency(struct zfcp_fsf_req *fsf_req) +{ + struct fsf_qual_latency_info *lat_inf; + struct zfcp_unit *unit; + + lat_inf = fsf_req-qtcb-prefix.prot_status_qual.latency_info; + unit =

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-03 Thread Heiko Carstens
> > + if (!(adapter->adapter_features & FSF_FEATURE_MEASUREMENT_DATA)) { > > + ZFCP_LOG_NORMAL("error: Enhanced measurement feature not " > > + "supported"); > > + return -EOPNOTSUPP; > > + } Btw. any user can flood the console with these messages

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-03 Thread Heiko Carstens
> +static void zfcp_fsf_req_latency(struct zfcp_fsf_req *fsf_req) > +{ > + struct fsf_qual_latency_info *lat_inf; > + struct zfcp_unit *unit; > + > + lat_inf = _req->qtcb->prefix.prot_status_qual.latency_info; > + unit = fsf_req->unit; > + > + switch

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-03 Thread Heiko Carstens
+static void zfcp_fsf_req_latency(struct zfcp_fsf_req *fsf_req) +{ + struct fsf_qual_latency_info *lat_inf; + struct zfcp_unit *unit; + + lat_inf = fsf_req-qtcb-prefix.prot_status_qual.latency_info; + unit = fsf_req-unit; + + switch

Re: [PATCH] zfcp: add some internal zfcp adapter statistics

2007-11-03 Thread Heiko Carstens
+ if (!(adapter-adapter_features FSF_FEATURE_MEASUREMENT_DATA)) { + ZFCP_LOG_NORMAL(error: Enhanced measurement feature not + supported); + return -EOPNOTSUPP; + } Btw. any user can flood the console with these messages if the adapter

[PATCH] zfcp: add some internal zfcp adapter statistics

2007-10-31 Thread Swen Schillig
From: Swen Schillig <[EMAIL PROTECTED]> add some statistics provided by the zFCP adapter to the sysfs The new zFCP adapter statistics provide a variety of information about the virtual adapter (subchannel). In order to collect this information the zFCP driver is extended on one side to query the

[PATCH] zfcp: add some internal zfcp adapter statistics

2007-10-31 Thread Swen Schillig
From: Swen Schillig [EMAIL PROTECTED] add some statistics provided by the zFCP adapter to the sysfs The new zFCP adapter statistics provide a variety of information about the virtual adapter (subchannel). In order to collect this information the zFCP driver is extended on one side to query the