]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/zns: ensure writes happen at write pointer.
authorAravind Ramesh <Aravind.Ramesh@wdc.com>
Wed, 29 Jun 2022 10:57:40 +0000 (16:27 +0530)
committerAravind <aravind.ramesh@wdc.com>
Wed, 31 Aug 2022 17:35:12 +0000 (23:05 +0530)
commit79a239ae0a93bd30de525e2614a8ad60404f873e
treef908bb2c9bb2c5bd0bdfe3b3ca4e4c1c235be6d6
parentb24aed80d952fa27bd6cdcae822f4760bcdd9ce5
crimson/zns: ensure writes happen at write pointer.

For ZNS SSDs, every write to a segment/zone has to happen at the zone's
write pointer. Any write request to an offset which is not at
write pointer will be failed by the drive.
In ZNSSegment::write() error out if write offset is not same as WP.

Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
src/crimson/os/seastore/segment_manager/zns.cc