[Bugs] [Bug 1598926] Misleading error messages on bricks caused by lseek

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 10 04:10:10 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1598926

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20475 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- posix: Do not log ENXIO errors for
seek fop

When lseek is used with SEEK_DATA and SEEK_HOLE, it's expected that the
last operation fails with ENXIO when offset is beyond the end of file.
In this case it doesn't make sense to report this as an error log message.

This patch reports ENXIO failure messages for seek fops in debug level
instead of error level.

Change-Id: I62a4f61f99b0e4d7ea6a2cdcd40afe15072794ac
fixes: bz#1598926
Signed-off-by: Xavi Hernandez <xhernandez at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=W6IqGfwxkh&a=cc_unsubscribe


More information about the Bugs mailing list