Re: [f2fs-dev] video archive on a microSD card

2016-09-02 Thread Jaegeuk Kim
On Fri, Sep 02, 2016 at 03:05:10PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 01.09.2016, 23:16, "Jaegeuk Kim" : > > On Thu, Sep 01, 2016 at 10:37:36PM +0300, Alexander Gordeev wrote: > >>  Hi , > >> > >>  01.09.2016, 21:25, "Jaegeuk Kim" : > >>  > Hello, > >>  > > >>  > On Thu, Sep 01, 201

Re: [f2fs-dev] video archive on a microSD card

2016-09-02 Thread Alexander Gordeev
Hi Jaegeuk, 01.09.2016, 23:07, "Jaegeuk Kim" : > On Thu, Sep 01, 2016 at 08:04:31PM +0300, Alexander Gordeev wrote: >>  Hi Jaegeuk, >> >>  29.08.2016, 21:24, "Jaegeuk Kim" : >>  > What I've found from your trace are: >>  > - there are two files (ino=17690, ino=17691) which shared the data log. >>

Re: [f2fs-dev] video archive on a microSD card

2016-09-02 Thread Alexander Gordeev
Hi Jaegeuk, 01.09.2016, 23:16, "Jaegeuk Kim" : > On Thu, Sep 01, 2016 at 10:37:36PM +0300, Alexander Gordeev wrote: >>  Hi , >> >>  01.09.2016, 21:25, "Jaegeuk Kim" : >>  > Hello, >>  > >>  > On Thu, Sep 01, 2016 at 08:40:07PM +0300, Alexander Gordeev wrote: >>  > ... >>  >>  >>  [ 49.274678]

Re: [f2fs-dev] video archive on a microSD card

2016-09-01 Thread Jaegeuk Kim
On Thu, Sep 01, 2016 at 10:37:36PM +0300, Alexander Gordeev wrote: > Hi , > > 01.09.2016, 21:25, "Jaegeuk Kim" : > > Hello, > > > > On Thu, Sep 01, 2016 at 08:40:07PM +0300, Alexander Gordeev wrote: > > ... > >>  >>  [ 49.274678] [ cut here ] > >>  >>  [ 49.280216] WARNING:

Re: [f2fs-dev] video archive on a microSD card

2016-09-01 Thread Jaegeuk Kim
On Thu, Sep 01, 2016 at 08:04:31PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 29.08.2016, 21:24, "Jaegeuk Kim" : > > On Mon, Aug 29, 2016 at 03:23:06PM +0300, Alexander Gordeev wrote: > >>  Hi Jaegeuk, > >> > >>  27.08.2016, 04:20, "Jaegeuk Kim" : > >>  > On Thu, Aug 25, 2016 at 11:14:03PM

Re: [f2fs-dev] video archive on a microSD card

2016-09-01 Thread Alexander Gordeev
Hi , 01.09.2016, 21:25, "Jaegeuk Kim" : > Hello, > > On Thu, Sep 01, 2016 at 08:40:07PM +0300, Alexander Gordeev wrote: > ... >>  >>  [ 49.274678] [ cut here ] >>  >>  [ 49.280216] WARNING: at >> /home/alex/work/s2l/amb_S2l_SDK_2.5/SDK2.5/s2l_linux_sdk/ambarella/kernel/lin

Re: [f2fs-dev] video archive on a microSD card

2016-09-01 Thread Jaegeuk Kim
Hello, On Thu, Sep 01, 2016 at 08:40:07PM +0300, Alexander Gordeev wrote: ... > >>  [ 49.274678] [ cut here ] > >>  [ 49.280216] WARNING: at > >> /home/alex/work/s2l/amb_S2l_SDK_2.5/SDK2.5/s2l_linux_sdk/ambarella/kernel/linux-3.10/fs/f2fs/segment.c:1105 > >> new_curseg+0x

Re: [f2fs-dev] video archive on a microSD card

2016-09-01 Thread Alexander Gordeev
Hi Jaegeuk, 01.09.2016, 02:46, "Jaegeuk Kim" : > On Wed, Aug 31, 2016 at 11:52:00AM +0300, Alexander Gordeev wrote: >>  Hi Jaegeuk, >> >>  29.08.2016, 21:00, "Jaegeuk Kim" : >>  > On Mon, Aug 29, 2016 at 07:50:24PM +0300, Alexander Gordeev wrote: >>  >>  Hi, >>  >> >>  >>  I have an update about t

Re: [f2fs-dev] video archive on a microSD card

2016-08-31 Thread Jaegeuk Kim
On Wed, Aug 31, 2016 at 11:52:00AM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 29.08.2016, 21:00, "Jaegeuk Kim" : > > On Mon, Aug 29, 2016 at 07:50:24PM +0300, Alexander Gordeev wrote: > >>  Hi, > >> > >>  I have an update about the first of the bugs, that I reported. > >> > >>  19.08.2016,

Re: [f2fs-dev] video archive on a microSD card

2016-08-31 Thread Alexander Gordeev
Hi Jaegeuk, 29.08.2016, 21:00, "Jaegeuk Kim" : > On Mon, Aug 29, 2016 at 07:50:24PM +0300, Alexander Gordeev wrote: >>  Hi, >> >>  I have an update about the first of the bugs, that I reported. >> >>  19.08.2016, 20:23, "Alexander Gordeev" : >>  > Hi, >>  > >>  > I'd also like to report two bugs.

Re: [f2fs-dev] video archive on a microSD card

2016-08-29 Thread Jaegeuk Kim
On Mon, Aug 29, 2016 at 03:23:06PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 27.08.2016, 04:20, "Jaegeuk Kim" : > > On Thu, Aug 25, 2016 at 11:14:03PM +0300, Alexander Gordeev wrote: > >>  Hi Jaegeuk, > >> > >>  Thanks for all the help! > >>... > >>  > This is the number of dirty segments,

Re: [f2fs-dev] video archive on a microSD card

2016-08-29 Thread Jaegeuk Kim
On Mon, Aug 29, 2016 at 07:50:24PM +0300, Alexander Gordeev wrote: > Hi, > > I have an update about the first of the bugs, that I reported. > > 19.08.2016, 20:23, "Alexander Gordeev" : > > Hi, > > > > I'd also like to report two bugs. I used f2fs-stable branch linux-3.10.y. > > I'm using some pro

Re: [f2fs-dev] video archive on a microSD card

2016-08-29 Thread Alexander Gordeev
Hi, I have an update about the first of the bugs, that I reported. 19.08.2016, 20:23, "Alexander Gordeev" : > Hi, > > I'd also like to report two bugs. I used f2fs-stable branch linux-3.10.y. > I'm using some proprietary modules also, but in my understanding they > shouldn't affect the fs. > > 1

Re: [f2fs-dev] video archive on a microSD card

2016-08-27 Thread Alexander Gordeev
Hi Jaegeuk, 27.08.2016, 04:15, "Jaegeuk Kim" : > Hi Alexander, > > On Fri, Aug 26, 2016 at 07:04:28PM +0300, Alexander Gordeev wrote: >>  Hi Jaegeuk, >> >>  24.08.2016, 00:27, "Jaegeuk Kim" : >>  > Hi, >>  > >>  > This is caused by no free segment to write data or node blocks. >>  > In both of cas

Re: [f2fs-dev] video archive on a microSD card

2016-08-26 Thread Jaegeuk Kim
On Thu, Aug 25, 2016 at 11:14:03PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > Thanks for all the help! > > 24.08.2016, 00:12, "Jaegeuk Kim" : > > On Mon, Aug 22, 2016 at 11:52:12PM +0300, Alexander Gordeev wrote: > >>  Hi, > >> > >>  I ran the test over weekend and I think I have some inte

Re: [f2fs-dev] video archive on a microSD card

2016-08-26 Thread Jaegeuk Kim
Hi Alexander, On Fri, Aug 26, 2016 at 07:04:28PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 24.08.2016, 00:27, "Jaegeuk Kim" : > > Hi, > > > > This is caused by no free segment to write data or node blocks. > > In both of cases, have you tried file defragmentation? > > I'd like to know whe

Re: [f2fs-dev] video archive on a microSD card

2016-08-26 Thread Alexander Gordeev
Hi Jaegeuk, 24.08.2016, 00:27, "Jaegeuk Kim" : > Hi, > > This is caused by no free segment to write data or node blocks. > In both of cases, have you tried file defragmentation? > I'd like to know whether this bug happens in normal cases as well. Just got this after my main process, that writes t

Re: [f2fs-dev] video archive on a microSD card

2016-08-25 Thread Alexander Gordeev
Hi Jaegeuk, 24.08.2016, 00:27, "Jaegeuk Kim" : > Hi, > > This is caused by no free segment to write data or node blocks. > In both of cases, have you tried file defragmentation? I see, thanks! In the first case I didn't try file defragmentation or manual GC. The problem happens when a try to del

Re: [f2fs-dev] video archive on a microSD card

2016-08-25 Thread Alexander Gordeev
Hi Jaegeuk, Thanks for all the help! 24.08.2016, 00:12, "Jaegeuk Kim" : > On Mon, Aug 22, 2016 at 11:52:12PM +0300, Alexander Gordeev wrote: >>  Hi, >> >>  I ran the test over weekend and I think I have some interesting results. >>  I used 1 new SD card in one device and two fully utilized SD car

Re: [f2fs-dev] video archive on a microSD card

2016-08-23 Thread Jaegeuk Kim
Hi, This is caused by no free segment to write data or node blocks. In both of cases, have you tried file defragmentation? I'd like to know whether this bug happens in normal cases as well. Can you provide fsck.f2fs messages? Thanks, On Fri, Aug 19, 2016 at 08:22:39PM +0300, Alexander Gordeev w

Re: [f2fs-dev] video archive on a microSD card

2016-08-23 Thread Jaegeuk Kim
On Mon, Aug 22, 2016 at 11:52:12PM +0300, Alexander Gordeev wrote: > Hi, > > I ran the test over weekend and I think I have some interesting results. > I used 1 new SD card in one device and two fully utilized SD cards, > that have problems with write latency, on two oter devices. > I mounted all

Re: [f2fs-dev] video archive on a microSD card

2016-08-23 Thread Jaegeuk Kim
Hi Alexander, On Fri, Aug 19, 2016 at 02:56:12PM +0300, Alexander Gordeev wrote: > Hi Jaegeuk, > > 19.08.2016, 05:41, "Jaegeuk Kim" : > >  Hello, > > > >  On Thu, Aug 18, 2016 at 02:04:55PM +0300, Alexander Gordeev wrote: > > > >  ... > > > >>   >>>   Here is also /sys/kernel/debug/f2fs/statu

Re: [f2fs-dev] video archive on a microSD card

2016-08-22 Thread Alexander Gordeev
Hi, I ran the test over weekend and I think I have some interesting results. I used 1 new SD card in one device and two fully utilized SD cards, that have problems with write latency, on two oter devices. I mounted all the cards with mode=lfs. The new SD card got utilized at 95% after some time.

Re: [f2fs-dev] video archive on a microSD card

2016-08-19 Thread Alexander Gordeev
Hi, I'd also like to report two bugs. I used f2fs-stable branch linux-3.10.y. I'm using some proprietary modules also, but in my understanding they shouldn't affect the fs. 1. I have a Sandisk 16GB microSDHC card, that is quite old and may be at its end of life. The bug is produced every time I

Re: [f2fs-dev] video archive on a microSD card

2016-08-19 Thread Alexander Gordeev
Hi Jaegeuk, 19.08.2016, 05:41, "Jaegeuk Kim" : >  Hello, > >  On Thu, Aug 18, 2016 at 02:04:55PM +0300, Alexander Gordeev wrote: > >  ... > >>   >>>   Here is also /sys/kernel/debug/f2fs/status for reference: >>   >>>   =[ partition info(sda). #0 ]= >>   >>>   [SB: 1] [CP: 2] [

Re: [f2fs-dev] video archive on a microSD card

2016-08-18 Thread Jaegeuk Kim
Hello, On Thu, Aug 18, 2016 at 02:04:55PM +0300, Alexander Gordeev wrote: ... > >>>   Here is also /sys/kernel/debug/f2fs/status for reference: > >>>   =[ partition info(sda). #0 ]= > >>>   [SB: 1] [CP: 2] [SIT: 4] [NAT: 118] [SSA: 60] [MAIN: > >>> 29646(OverProv:1529 >

Re: [f2fs-dev] video archive on a microSD card

2016-08-18 Thread Alexander Gordeev
Hi Chao, Thanks for your continued interest! 17.08.2016, 18:54, "Chao Yu" : > Hi Alexander, > > On 2016/8/17 17:47, Alexander Gordeev wrote: >>  Hi Chao, >> >>>  On 2016/8/15 20:22, Alexander Gordeev wrote:  15.08.2016, 14:58, "Chao Yu" : >  Hi Alexander, > >  On 2016/8/15 18:47,

Re: [f2fs-dev] video archive on a microSD card

2016-08-17 Thread Chao Yu
Hi Alexander, On 2016/8/17 17:47, Alexander Gordeev wrote: > Hi Chao, > >> On 2016/8/15 20:22, Alexander Gordeev wrote: >>> 15.08.2016, 14:58, "Chao Yu" : Hi Alexander, On 2016/8/15 18:47, Alexander Gordeev wrote: > Hi All, > > 12.08.2016, 14:52, "Alexander Gordeev" :

Re: [f2fs-dev] video archive on a microSD card

2016-08-17 Thread Alexander Gordeev
Hi Chao, > On 2016/8/15 20:22, Alexander Gordeev wrote: > > 15.08.2016, 14:58, "Chao Yu" : > >> Hi Alexander, > >> > >> On 2016/8/15 18:47, Alexander Gordeev wrote: > >>> Hi All, > >>> > >>> 12.08.2016, 14:52, "Alexander Gordeev" : > Hi All, > > I hope I'm writing to the right m

Re: [f2fs-dev] video archive on a microSD card

2016-08-16 Thread Chao Yu
Hi Alexander, On 2016/8/15 20:22, Alexander Gordeev wrote: > Hi Chao, > > Thanks for your response! > > 15.08.2016, 14:58, "Chao Yu" : >> Hi Alexander, >> >> On 2016/8/15 18:47, Alexander Gordeev wrote: >>> Hi All, >>> >>> 12.08.2016, 14:52, "Alexander Gordeev" : Hi All, I hop

Re: [f2fs-dev] video archive on a microSD card

2016-08-15 Thread Alexander Gordeev
Hi Chao, Thanks for your response! 15.08.2016, 14:58, "Chao Yu" : > Hi Alexander, > > On 2016/8/15 18:47, Alexander Gordeev wrote: >>  Hi All, >> >>  12.08.2016, 14:52, "Alexander Gordeev" : >>>  Hi All, >>> >>>  I hope I'm writing to the right mailing list. If not please give me >>> directions

Re: [f2fs-dev] video archive on a microSD card

2016-08-15 Thread Chao Yu
Hi Alexander, On 2016/8/15 18:47, Alexander Gordeev wrote: > Hi All, > > 12.08.2016, 14:52, "Alexander Gordeev" : >> Hi All, >> >> I hope I'm writing to the right mailing list. If not please give me >> directions to the right place. >> I'm trying to write video archive to a microSD card on an AR

Re: [f2fs-dev] video archive on a microSD card

2016-08-15 Thread Alexander Gordeev
Hi All, 12.08.2016, 14:52, "Alexander Gordeev" : > Hi All, > > I hope I'm writing to the right mailing list. If not please give me > directions to the right place. > I'm trying to write video archive to a microSD card on an ARM based IP > camera. The camera's SDK uses Linux 3.10. > The kernel is

[f2fs-dev] video archive on a microSD card

2016-08-12 Thread Alexander Gordeev
Hi All, I hope I'm writing to the right mailing list. If not please give me directions to the right place. I'm trying to write video archive to a microSD card on an ARM based IP camera. The camera's SDK uses Linux 3.10. The kernel is quite old and F2FS is there since 3.8 AFAIK so it's probably n