code: func (d *defrag) setLast(lastOrdinal int64) {
  	select {
  	case d.lastOrdinalNotify <- lastOrdinal:
  	case <-d.done:
  	}
  }
docs: // Set the last work ordinal to be processed once this is known, which
  // can allow defrag.WriteTo to terminate.