mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-06 16:17:01 +00:00
scoutfs: remove ancient dirty item comment
This is just old and wrong. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -1478,17 +1478,6 @@ static void count_seg_items(struct item_cache *cac, u32 *nr_items,
|
||||
* The caller is responsible for the consistency of the dirty items once
|
||||
* they're in its seg. We can consider them clean once we store them.
|
||||
*
|
||||
* Today entering a transaction doesn't ensure that there's never more
|
||||
* than a segment's worth of dirty items. As we release a trans we kick
|
||||
* off an async sync. By the time we get here we can have a lot more
|
||||
* than a segments worth of dirty items.
|
||||
*
|
||||
* XXX This is unacceptable because multiple segment writes are not
|
||||
* atomic. We can have the items that make up an atomic change span
|
||||
* segments and can be partially visible if we only write the first
|
||||
* segment. We probably want to throttle trans enters once we have as
|
||||
* many dirty items as our atomic segment updates can write.
|
||||
*
|
||||
* XXX this first/append pattern will go away once we can write a stream
|
||||
* of items to a segment without needing to know the item count to
|
||||
* find the starting key and value offsets.
|
||||
|
||||
Reference in New Issue
Block a user