Thread (27 messages) 27 messages, 8 authors, 2011-01-10

Re: Regular ext4 error warning with HD in USB dock

From: Amir Goldstein <amir73il@gmail.com>
Date: 2011-01-07 20:39:15

On Fri, Jan 7, 2011 at 9:43 PM, Amir Goldstein [off-list ref] wrote:
On Fri, Jan 7, 2011 at 7:28 AM, Ted Ts'o [off-list ref] wrote:
quoted
Also, the kernel patch seems to write the messages in 256-byte
records, whereas the e2fsck patch assumes the messages are packed
together in null-terminated packed lines....
I checked again. e2fsck patch DOES read messages in 256-byte records:
+static void e2fsck_print_message_buffer(e2fsck_t ctx)
...
+#define MSGLEN 256
...
+		fputs(buf+offset, stdout);
+		offset += MSGLEN;
quoted
                                               - Ted
I guess that is the reason I always see only the first message on fsck :-)
It was always enough information for me though...
feel free to amend to e2fsck patch to match the kernel side.

Thanks,
Amir.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help