Re: [PATCH 09/17] common/dmerror: fix mount option issues

2016-08-03 Thread Darrick J. Wong
On Wed, Aug 03, 2016 at 06:38:00PM +0800, Eryu Guan wrote: > On Thu, Jul 21, 2016 at 04:47:13PM -0700, Darrick J. Wong wrote: > > Calling _mount doesn't work when we want to add mount options > > such as realtime devices. Since it's just a normal scratch device > > mount except for the source

Re: [PATCH 09/17] common/dmerror: fix mount option issues

2016-08-03 Thread Eryu Guan
On Thu, Jul 21, 2016 at 04:47:13PM -0700, Darrick J. Wong wrote: > Calling _mount doesn't work when we want to add mount options > such as realtime devices. Since it's just a normal scratch device > mount except for the source device, just call _scratch_mount with > SCRATCH_DEV set to the dmerror

Re: [PATCH 09/17] common/dmerror: fix mount option issues

2016-08-01 Thread Christoph Hellwig
On Thu, Jul 21, 2016 at 04:47:13PM -0700, Darrick J. Wong wrote: > Calling _mount doesn't work when we want to add mount options > such as realtime devices. Since it's just a normal scratch device > mount except for the source device, just call _scratch_mount with > SCRATCH_DEV set to the dmerror

[PATCH 09/17] common/dmerror: fix mount option issues

2016-07-21 Thread Darrick J. Wong
Calling _mount doesn't work when we want to add mount options such as realtime devices. Since it's just a normal scratch device mount except for the source device, just call _scratch_mount with SCRATCH_DEV set to the dmerror device. Signed-off-by: Darrick J. Wong ---