Re: Review Request 43914: Modified the `NetClsHandleManager` methods to work with ranges.

2016-02-23 Thread Avinash sridharan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43914/
---

(Updated Feb. 23, 2016, 11:18 p.m.)


Review request for mesos and Jie Yu.


Changes
---

Added JIRA.


Bugs: MESOS-4700
https://issues.apache.org/jira/browse/MESOS-4700


Repository: mesos


Description
---

The `alloc`, `free` and `reserve` methods of `NetClsHandleManager` can
now work with a specified range of secondary handles, instead of
assuming that the entire 64K space of secondary handles is available
for use.


Diffs
-

  src/slave/containerizer/mesos/isolators/cgroups/net_cls.cpp 
f05cd55a9e080f44566ec7dcef22f11950496d6f 

Diff: https://reviews.apache.org/r/43914/diff/


Testing
---

make and make check.

Also ran sudo make check for the "NetClsIsolatoTest"


Thanks,

Avinash sridharan



Review Request 43914: Modified the `NetClsHandleManager` methods to work with ranges.

2016-02-23 Thread Avinash sridharan

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43914/
---

Review request for mesos and Jie Yu.


Repository: mesos


Description
---

The `alloc`, `free` and `reserve` methods of `NetClsHandleManager` can
now work with a specified range of secondary handles, instead of
assuming that the entire 64K space of secondary handles is available
for use.


Diffs
-

  src/slave/containerizer/mesos/isolators/cgroups/net_cls.cpp 
f05cd55a9e080f44566ec7dcef22f11950496d6f 

Diff: https://reviews.apache.org/r/43914/diff/


Testing
---

make and make check.

Also ran sudo make check for the "NetClsIsolatoTest"


Thanks,

Avinash sridharan