Re: [sheepdog] [PATCH v3 17/17] block: use int64_t instead of int in driver discard handlers

2020-05-06 Thread Vladimir Sementsov-Ogievskiy
30.04.2020 14:10, Vladimir Sementsov-Ogievskiy wrote: We are generally moving to int64_t for both offset and bytes parameters on all io paths. Main motivation is realization of 64-bit write_zeroes operation for fast zeroing large disk chunks, up to the whole disk. We chose signed type, to be

[sheepdog] [PATCH v3 17/17] block: use int64_t instead of int in driver discard handlers

2020-04-30 Thread Vladimir Sementsov-Ogievskiy
We are generally moving to int64_t for both offset and bytes parameters on all io paths. Main motivation is realization of 64-bit write_zeroes operation for fast zeroing large disk chunks, up to the whole disk. We chose signed type, to be consistent with off_t (which is signed) and with