Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
nvmet: fix mismatched serial
Target side uses 'bin2hex' to convert u64 serial number to a hex string, saving serial number as be64 to keep right byte order. Test on x86 server, config '0123456789abcdef' to 'attr_serial' on target side, and run 'nvme id-ctrl /dev/nvme0' on initiator side, then we can get the same SN string. Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
- Loading branch information