public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* What is the meaning of XLOG_MIN_RECORD_BSIZE? (Missing a check?)
@ 2016-02-19 13:34 Jan Tulak
  2016-02-19 15:43 ` Brian Foster
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Tulak @ 2016-02-19 13:34 UTC (permalink / raw)
  To: xfs-oss


[-- Attachment #1.1: Type: text/plain, Size: 650 bytes --]

Hi guys,

what is the meaning of XLOG_MIN_RECORD_BSIZE in libxfs/xfs_log_format.h?
It is not used anywhere. I thought it might be related to -l su/sunit
option, but seeing tests with -l su=4096 (the macro is set to 16k), it
looks more like a forgotten value.

There is no check for a minimal value, so I can do -l su=1 (or su=0). Are
there some caveat​s (other than performance) with such a small value? Can
it be that we are missing a check? Because
XLOG_BIG_RECORD_BSIZE
​ and XLOG_MAX_RECORD_BSIZE are used and the upper bound is limited.​..


​Thanks​.

Cheers,
Jan

-- 
Jan Tulak
jtulak@redhat.com / jan@tulak.me

[-- Attachment #1.2: Type: text/html, Size: 1748 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-22  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-19 13:34 What is the meaning of XLOG_MIN_RECORD_BSIZE? (Missing a check?) Jan Tulak
2016-02-19 15:43 ` Brian Foster
2016-02-19 16:16   ` Jan Tulak
2016-02-19 16:29     ` Brian Foster
2016-02-21 23:18       ` Dave Chinner
2016-02-22  8:38         ` Jan Tulak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox