| 680 | class FdStatus { |
| 681 | public: |
| 682 | FdStatus(uint32_t id, std::vector<BlockServiceState>& services) |
| 683 | : _id(id), _services(services), _startOffset(_services.size()), |
| 684 | _endOffset(_services.size()), _nextToAssign(_services.size()), _assignLoopCount(0) {} |
| 685 | |
| 686 | // we prioritize Fds that have been assigned less often, and then by the next service available bytes |
| 687 | bool operator<(const FdStatus& oth) const { |