* external journal an data= option
@ 2016-11-21 15:39 Wolfgang Walter
2016-11-24 13:50 ` Jan Kara
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Walter @ 2016-11-21 15:39 UTC (permalink / raw)
To: LKML; +Cc: linux-ext4
Hello,
while testing ext4 with an external journal I found the following problem with
longterm kernel 4.4.30:
I could mount the filesystem without specifying the option data=....
It seems that it is then mounted with data=ordered and indeed this is what
cat /proc/mounts
shows.
But I could not change any option afterwards with -o remount. It always said
that data=ordered is not valid with an external journal.
If I mount with explicitly stating data=writeback or data=journal remount
works fine.
So It seems that ext4 does forbid (at least in 4.4.30) data=ordered as an
option but uses it implicitly as default mode even with an external journal.
Regards,
--
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: external journal an data= option
2016-11-21 15:39 external journal an data= option Wolfgang Walter
@ 2016-11-24 13:50 ` Jan Kara
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2016-11-24 13:50 UTC (permalink / raw)
To: Wolfgang Walter; +Cc: LKML, linux-ext4
Hi,
On Mon 21-11-16 16:39:53, Wolfgang Walter wrote:
> while testing ext4 with an external journal I found the following problem with
> longterm kernel 4.4.30:
>
> I could mount the filesystem without specifying the option data=....
>
> It seems that it is then mounted with data=ordered and indeed this is what
>
> cat /proc/mounts
>
> shows.
Yes, that is correct.
> But I could not change any option afterwards with -o remount. It always said
> that data=ordered is not valid with an external journal.
>
> If I mount with explicitly stating data=writeback or data=journal remount
> works fine.
>
> So It seems that ext4 does forbid (at least in 4.4.30) data=ordered as an
> option but uses it implicitly as default mode even with an external journal.
Can you show the exact error message and the set of mount options you use?
I'm not aware we would refuse data=ordered mode due to external journal...
Honza
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-24 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21 15:39 external journal an data= option Wolfgang Walter
2016-11-24 13:50 ` Jan Kara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®