I have sent this patch to improve the behavior of iscsid when the new net_prio 
cgroup support is in place to manage network application priorities. This patch 
detects the presence of the net_prio cgroup and then blocks all use of the 
current DCB support in such a case. This is because a priority set by an 
application will prevent the net_prio cgroup from controlling the application. 
One reason to prefer having the net_prio cgroup control the priority is that it 
can dynamically respond to changes in an application's priority as communicated 
through DCB, which the current DCB support in iscsid cannot do.

This patch assumes that the cgroup will at least be present before iscsid gets 
started if it is going to be used to control network priorities. If that proves 
not to be true some changes will be necessary, as you can see this 
implementation only checks for the net_prio cgroup one time (to avoid the 
overhead of the added check for each session startup). Some coordination with 
the net_prio cgroup implementation may be necessary here.

As this patch has not yet been tested, please send any suggestions, complaints 
or observations to me. Thanks.

-- 
Mark Rustad, LAN Access Division, Intel Corporation

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to