Re: [PATCH 5.10 004/126] ext4: shrink race window in ext4_should_retry_alloc()

From: Pavel Machek
Date: Mon Apr 05 2021 - 11:29:14 EST


Hi!

> From: Eric Whitney <enwlinux@xxxxxxxxx>

> A per filesystem percpu counter exported via sysfs is added to allow
> users or developers to track the number of times the retry limit is
> exceeded without resorting to debugging methods. This should provide
> some insight into worst case retry behavior.

This adds new counter exported via sysfs, but no documentation of that
counter...

Best regards,
Pavel

> @@ -257,6 +259,7 @@ static struct attribute *ext4_attrs[] = {
> ATTR_LIST(session_write_kbytes),
> ATTR_LIST(lifetime_write_kbytes),
> ATTR_LIST(reserved_clusters),
> + ATTR_LIST(sra_exceeded_retry_limit),
> ATTR_LIST(inode_readahead_blks),
> ATTR_LIST(inode_goal),
> ATTR_LIST(mb_stats),

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: Digital signature