Clarify comment for LogicalTapeSetBlocks().

Discussion: https://postgr.es/m/1229327.1711160246@sss.pgh.pa.us
Backpatch-through: 13
This commit is contained in:
Jeff Davis 2024-03-25 11:51:44 -07:00
parent 3ff01b2b6e
commit bc5fcaa289
1 changed files with 2 additions and 4 deletions

View File

@ -1174,10 +1174,8 @@ LogicalTapeTell(LogicalTape *lt, int64 *blocknum, int *offset)
}
/*
* Obtain total disk space currently used by a LogicalTapeSet, in blocks.
*
* This should not be called while there are open write buffers; otherwise it
* may not account for buffered data.
* Obtain total disk space currently used by a LogicalTapeSet, in blocks. Does
* not account for open write buffer, if any.
*/
int64
LogicalTapeSetBlocks(LogicalTapeSet *lts)