Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cephfs: fix write_buf's _len overflow problem #13587
After I have set about 400 64KB xattr kv pair to a file,
This patch try to fix this problem through the following changes:
The Server and Journaler commits look good. After chatting with @liewegas the consensus on the buffer.h asserts is that although we already have lots of asserts there, we probably don't want to add more.
If you could drop the buffer.h commit from this PR, it will be good to merge.