Before closing a segment, seastore writes a tail information
at the end of the segment, since ZBD zones are serially write
required, if a zone is not fully written to the end, it writes
padding bytes till the tail section.
Increase the size of write chunks to reduce the number of writes.
Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
#define SECT_SHIFT 9
#define RESERVED_ZONES 1
// limit the max padding buf size to 1MB
-#define MAX_PADDING_SIZE 1048576
+#define MAX_PADDING_SIZE 4194304
using z_op = crimson::os::seastore::segment_manager::zbd::zone_op;
template <> struct fmt::formatter<z_op>: fmt::formatter<std::string_view> {