Closed jeffreyalien closed 3 years ago
@jeffreyalien To verify: are you using the latest git version of cachelib ? this looks very similar to a bug that was fixed last week ( internal ref: D30050023 )
@jeffreyalien yeah, this was broken for a brief period of time as we were preparing the repository for Open source. We squashed all the commits in preparation, so I can't point you to the exact fix. But, if you pull from main branch, it should go away. Also, please note that the repository has changed a bit in terms of the setup in preparation for OSS. So you might want to clone from scratch to avoid any issues instead of pulling from the old checkout.
The latest code is running now - no seg fault with it. I will create a PR with my changes to add support for the wdcWriteBytes function.
Fixed with the latest CacheLib clone.
@jeffreyalien perfect. thanks for confirming. Look forward to the PR :)
I was able add support for Western Digital drives by adding the wdcWriteBytes function to the NandWrites.cpp part. I believe that code is working as expected but we're getting a Segmentation Fault when trying to run cachebench. We’re using a json file that we got from Facebook but not sure if that’s what we should be using or if it needs some updates. I’ve attached it along with the runtime log to the issue. We are new to the cachebench app so hopefully it’s something simple with our config or setup.
runtime-job-log.txt tao_leader_t10.txt