Files
haiku-beta6/headers/os
David Sebek bd02d81c24 Fix trim-related issues
Fixes:
* Use uint64 instead of off_t when handling offset and size
  of the trimmed range in the fs_trim_data structure
* BlockAllocator::Trim: Correct the size of a buffer
* ram_disk, mmc: Do not trim past device capacity

Improvements:
* BlockAllocator::Trim: Because the received offset and size
  are ignored by BFS (the functionality is not implemented yet),
  return B_UNSUPPORTED if the range does not cover the whole
  partition
* ram_disk, mmc: More accurate calculation of the number
  of trimmed bytes
* devfs: Add a uint64 version of translate_partition_access()

Change-Id: I24f4c08674f123ad33a5fef6e28996a4ada6ff0d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4155
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2021-07-16 18:35:34 +00:00
..
2021-01-29 21:38:10 +01:00
2021-07-16 18:35:34 +00:00
2020-01-25 21:35:34 +01:00
2021-06-02 08:48:36 +00:00
2019-07-16 20:44:32 +00:00
2020-03-23 01:30:23 +00:00
2017-07-30 14:46:41 -04:00
2017-01-10 21:34:20 +01:00