Re: Bug/regression: Read-only mount not read-only

2015-12-04 Thread Austin S Hemmelgarn
On 2015-12-02 18:40, Qu Wenruo wrote: On 12/03/2015 06:48 AM, Eric Sandeen wrote: On 12/2/15 11:48 AM, Austin S Hemmelgarn wrote: On a side note, do either XFS or ext4 support removing the norecovery option from the mount flags through mount -o remount? Even if they don't, that might be a

Re: Bug/regression: Read-only mount not read-only

2015-12-04 Thread Austin S Hemmelgarn
On 2015-12-02 18:51, Hugo Mills wrote: On Thu, Dec 03, 2015 at 07:40:08AM +0800, Qu Wenruo wrote: On 12/03/2015 06:48 AM, Eric Sandeen wrote: On 12/2/15 11:48 AM, Austin S Hemmelgarn wrote: On a side note, do either XFS or ext4 support removing the norecovery option from the mount flags

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Eric Sandeen
On 12/2/15 3:23 AM, Qu Wenruo wrote: > > > Qu Wenruo wrote on 2015/12/02 17:06 +0800: >> >> >> Russell Coker wrote on 2015/12/02 17:25 +1100: >>> On Wed, 2 Dec 2015 06:05:09 AM Eric Sandeen wrote: yes, xfs does; we have "-o norecovery" if you don't want that, or need to mount a

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Austin S Hemmelgarn
On 2015-12-02 11:54, Eric Sandeen wrote: On 12/2/15 3:23 AM, Qu Wenruo wrote: Qu Wenruo wrote on 2015/12/02 17:06 +0800: Russell Coker wrote on 2015/12/02 17:25 +1100: On Wed, 2 Dec 2015 06:05:09 AM Eric Sandeen wrote: yes, xfs does; we have "-o norecovery" if you don't want that, or

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Hugo Mills
On Wed, Dec 02, 2015 at 12:48:39PM -0500, Austin S Hemmelgarn wrote: > On 2015-12-02 11:54, Eric Sandeen wrote: > >On 12/2/15 3:23 AM, Qu Wenruo wrote: > >>Qu Wenruo wrote on 2015/12/02 17:06 +0800: > >>>Russell Coker wrote on 2015/12/02 17:25 +1100: > On Wed, 2 Dec 2015 06:05:09 AM Eric

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Qu Wenruo
Russell Coker wrote on 2015/12/02 17:25 +1100: On Wed, 2 Dec 2015 06:05:09 AM Eric Sandeen wrote: yes, xfs does; we have "-o norecovery" if you don't want that, or need to mount a filesystem with a dirty log on a readonly device. That option also works with Ext3/4 so it seems to be a

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Qu Wenruo
Qu Wenruo wrote on 2015/12/02 17:06 +0800: Russell Coker wrote on 2015/12/02 17:25 +1100: On Wed, 2 Dec 2015 06:05:09 AM Eric Sandeen wrote: yes, xfs does; we have "-o norecovery" if you don't want that, or need to mount a filesystem with a dirty log on a readonly device. That option

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Eric Sandeen
On 12/2/15 11:48 AM, Austin S Hemmelgarn wrote: > On a side note, do either XFS or ext4 support removing the norecovery > option from the mount flags through mount -o remount? Even if they > don't, that might be a nice feature to have in BTRFS if we can safely > support it. It's not remountable

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Duncan
Hugo Mills posted on Wed, 02 Dec 2015 23:51:55 + as excerpted: > On Thu, Dec 03, 2015 at 07:40:08AM +0800, Qu Wenruo wrote: >> >> Not remountable is very good to implement it. >> Makes things super easy to do. >> >> Or we will need to add log replay for remount time. >> >> I'd like to

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Hugo Mills
On Thu, Dec 03, 2015 at 07:40:08AM +0800, Qu Wenruo wrote: > > > On 12/03/2015 06:48 AM, Eric Sandeen wrote: > >On 12/2/15 11:48 AM, Austin S Hemmelgarn wrote: > > > >>On a side note, do either XFS or ext4 support removing the norecovery > >>option from the mount flags through mount -o remount?

Re: Bug/regression: Read-only mount not read-only

2015-12-02 Thread Qu Wenruo
On 12/03/2015 06:48 AM, Eric Sandeen wrote: On 12/2/15 11:48 AM, Austin S Hemmelgarn wrote: On a side note, do either XFS or ext4 support removing the norecovery option from the mount flags through mount -o remount? Even if they don't, that might be a nice feature to have in BTRFS if we can

Re: Bug/regression: Read-only mount not read-only

2015-12-01 Thread Chris Mason
On Tue, Dec 01, 2015 at 02:46:32PM +0800, Qu Wenruo wrote: > > > Chris Mason wrote on 2015/11/30 11:48 -0500: > >On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: > >>We've just had someone on IRC with a problem mounting their FS. The > >>main problem is that they've got a corrupt

Re: Bug/regression: Read-only mount not read-only

2015-12-01 Thread Chris Mason
On Mon, Nov 30, 2015 at 05:06:00PM +, Hugo Mills wrote: > On Mon, Nov 30, 2015 at 11:48:01AM -0500, Chris Mason wrote: > > On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: > > >We've just had someone on IRC with a problem mounting their FS. The > > > main problem is that they've

Re: Bug/regression: Read-only mount not read-only

2015-12-01 Thread Eric Sandeen
On 12/1/15 1:00 PM, Chris Mason wrote: > On Mon, Nov 30, 2015 at 05:06:00PM +, Hugo Mills wrote: >> On Mon, Nov 30, 2015 at 11:48:01AM -0500, Chris Mason wrote: >>> On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: We've just had someone on IRC with a problem mounting their

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Hugo Mills
On Mon, Nov 30, 2015 at 11:48:01AM -0500, Chris Mason wrote: > On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: > >We've just had someone on IRC with a problem mounting their FS. The > > main problem is that they've got a corrupt log tree. That isn't the > > subject of this email,

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Austin S Hemmelgarn
On 2015-11-30 11:48, Chris Mason wrote: On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: We've just had someone on IRC with a problem mounting their FS. The main problem is that they've got a corrupt log tree. That isn't the subject of this email, though. The issue I'd like

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Chris Mason
On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: >We've just had someone on IRC with a problem mounting their FS. The > main problem is that they've got a corrupt log tree. That isn't the > subject of this email, though. > >The issue I'd like to raise is that even with -oro as

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Austin S Hemmelgarn
On 2015-11-30 10:28, Hugo Mills wrote: On Mon, Nov 30, 2015 at 09:59:40AM -0500, Austin S Hemmelgarn wrote: On 2015-11-28 08:46, Hugo Mills wrote: We've just had someone on IRC with a problem mounting their FS. The main problem is that they've got a corrupt log tree. That isn't the subject

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Austin S Hemmelgarn
On 2015-11-28 08:46, Hugo Mills wrote: We've just had someone on IRC with a problem mounting their FS. The main problem is that they've got a corrupt log tree. That isn't the subject of this email, though. The issue I'd like to raise is that even with -oro as a point option, the FS is

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Hugo Mills
On Mon, Nov 30, 2015 at 09:59:40AM -0500, Austin S Hemmelgarn wrote: > On 2015-11-28 08:46, Hugo Mills wrote: > >We've just had someone on IRC with a problem mounting their FS. The > >main problem is that they've got a corrupt log tree. That isn't the > >subject of this email, though. > > > >

Re: Bug/regression: Read-only mount not read-only

2015-11-30 Thread Qu Wenruo
Chris Mason wrote on 2015/11/30 11:48 -0500: On Sat, Nov 28, 2015 at 01:46:34PM +, Hugo Mills wrote: We've just had someone on IRC with a problem mounting their FS. The main problem is that they've got a corrupt log tree. That isn't the subject of this email, though. The issue