* [linux-lvm] DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) [not found] ` <20020328083015.G47866@wobbly.melbourne.sgi.com> @ 2002-03-29 6:26 ` Adrian Head [not found] ` <200203291222.EAA25283@deliverator.sgi.com> 1 sibling, 0 replies; 6+ messages in thread From: Adrian Head @ 2002-03-29 6:26 UTC (permalink / raw) To: Nathan Scott, Bas; +Cc: linux-xfs, linux-lvm I have also run into the XFS CVS kernel compile failing because of an undefined DQUOT_SYNC. Using the information given by Nathan I have tracked down the offending patch that causes the problems. In my case it was the LVM VFS-lock patch from the Sistina LVM project. What they seem to do is use DQUOT_SYNC to force the writing of cached Quota infomation before they lock the VFS during snapshot creation. It would also seem that EVMS does the same thing. I expect that the XFS CVS kernel tree is actually ahead of the standard 2.4.18 kernel tree in this respect so we'll have to wait until 2.4.19 is released with the updated API's before other projects update their kernel patches. Grep'ing through the kernel I have not been able to find any comments or explanations regarding this - so I have assumed that DQUOT_SYNC can be changed to DQUOT_SYNC_DEV without problems. <RANT> Its times like this that it would be great if there was a one sentence description of what every kernel function does - but alas - for those of us that aren't kernel gods we have to guess - or spend many hours. </RANT> Sorry - please ignore my rant above. After making that change the kernel compiles cleanly and boots. I'm unsure as yet if I have done the correct thing here. Hopefuly someone will be able to help us out and correct me if I'm incorrect. The offending part of the VF-lock patch follows below: Index: linus.21/fs/buffer.c --- linus.21/fs/buffer.c Mon, 28 Jan 2002 09:51:50 -0500 root (linux/i/45_buffer.c 1.5.2.6 644) +++ linus.21(w)/fs/buffer.c Mon, 28 Jan 2002 11:54:36 -0500 root (linux/i/45_buffer.c 1.5.2.6 644) @@ -361,6 +361,34 @@ fsync_dev(dev); } +int fsync_dev_lockfs(kdev_t dev) +{ + /* you are not allowed to try locking all the filesystems + ** on the system, your chances of getting through without + ** total deadlock are slim to none. + */ + if (!dev) + return fsync_dev(dev) ; + + sync_buffers(dev, 0); + + lock_kernel(); + /* note, the FS might need to start transactions to + ** sync the inodes, or the quota, no locking until + ** after these are done + */ + sync_inodes(dev); + DQUOT_SYNC(dev); ^<==== ****All I did was to change this to DQUOT_SYNC_DEV(dev);**** + /* if inodes or quotas could be dirtied during the + ** sync_supers_lockfs call, the FS is responsible for getting + ** them on disk, without deadlocking against the lock + */ + sync_supers_lockfs(dev) ; + unlock_kernel(); + + return sync_buffers(dev, 1) ; +} + asmlinkage long sys_sync(void) { fsync_dev(0); On Thu, 28 Mar 2002 07:30, Nathan Scott wrote: > Hello, > > On Wed, Mar 27, 2002 at 09:45:48AM +0100, Bas wrote: > > Hi, > > > > It's not possible for me to build the kernel mentioned above. I saw the > > new qouta options and suspect it has something to do with it, but I'm not > > sure. > > > > Building everything goes fine, but at the end of the run it's not able to > > produce a kernel because of DQUOT_SYNC. I don't have the exact error > > here. > > Hmm... 20020327 - that's yesterday. DQUOT_SYNC doesn't appear in > the source at all anymore (for awhile now), so I suspect the problem > must be at your end. Try getting a fresh CVS copy and/or "make clean". > [ The other patches you mentioned should not have anything to do with > this problem. ] > > $ find . -type f | xargs fgrep DQUOT_SYNC > ./fs/buffer.c: DQUOT_SYNC_SB(sb); > ./fs/buffer.c: DQUOT_SYNC_DEV(dev); > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) > sync_dquots_dev(dev, -1) ./include/linux/quotaops.h:#define > DQUOT_SYNC_SB(sb) sync_dquots_sb(sb, -1) > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) do > { } while(0) ./include/linux/quotaops.h:#define DQUOT_SYNC_SB(sb) > do { } while(0) $ > > FWIW, DQUOT_SYNC used to come from include/linux/quotaops.h > too, and its definition was also dependent on CONFIG_QUOTA. > The reason you'd be getting an unresolved symbol would be a > file referencing DQUOT_SYNC wasn't #include'ing quotaops.h; > but thats all by-the-by - the real problem is related to the > source you're using I suspect - it certainly doesn't match > CVS of yesterday. > > cheers. -- Adrian Head (Public Key available on request.) ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <200203291222.EAA25283@deliverator.sgi.com>]
* [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) [not found] ` <200203291222.EAA25283@deliverator.sgi.com> @ 2002-04-01 16:58 ` Nathan Scott 2002-04-01 17:24 ` Adrian Head ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Nathan Scott @ 2002-04-01 16:58 UTC (permalink / raw) To: Adrian Head; +Cc: Jan Kara, Bas, linux-xfs, linux-lvm On Fri, Mar 29, 2002 at 10:26:41PM +1000, Adrian Head wrote: > I have also run into the XFS CVS kernel compile failing because of an > undefined DQUOT_SYNC. > > Using the information given by Nathan I have tracked down the offending patch > that causes the problems. In my case it was the LVM VFS-lock patch from the > Sistina LVM project. What they seem to do is use DQUOT_SYNC to force the > writing of cached Quota infomation before they lock the VFS during snapshot > creation. It would also seem that EVMS does the same thing. Aha, thanks for tracking this down Adrian. > I expect that the XFS CVS kernel tree is actually ahead of the standard > 2.4.18 kernel tree in this respect so we'll have to wait until 2.4.19 is > released with the updated API's before other projects update their kernel > patches. Yes, the XFS trees contain all of the quota patches from: ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ I wouldn't expect these patches to be in 2.4.19 -- they are not in 2.5 yet and I think Jan is concentrating on that step first. > Grep'ing through the kernel I have not been able to find any comments or > explanations regarding this - so I have assumed that DQUOT_SYNC can be > changed to DQUOT_SYNC_DEV without problems. Yes, by my understanding of the VFS quota subsystem that would be the correct thing to do. > After making that change the kernel compiles cleanly and boots. I'm unsure > as yet if I have done the correct thing here. Hopefuly someone will be able > to help us out and correct me if I'm incorrect. I believe your change is correct, I've CC'd Jan in case there is anything that I've overlooked. cheers. > The offending part of the VF-lock patch follows below: > > Index: linus.21/fs/buffer.c > --- linus.21/fs/buffer.c Mon, 28 Jan 2002 09:51:50 -0500 root > (linux/i/45_buffer.c 1.5.2.6 644) > +++ linus.21(w)/fs/buffer.c Mon, 28 Jan 2002 11:54:36 -0500 root > (linux/i/45_buffer.c 1.5.2.6 644) > @@ -361,6 +361,34 @@ > fsync_dev(dev); > } > > +int fsync_dev_lockfs(kdev_t dev) > +{ > + /* you are not allowed to try locking all the filesystems > + ** on the system, your chances of getting through without > + ** total deadlock are slim to none. > + */ > + if (!dev) > + return fsync_dev(dev) ; > + > + sync_buffers(dev, 0); > + > + lock_kernel(); > + /* note, the FS might need to start transactions to > + ** sync the inodes, or the quota, no locking until > + ** after these are done > + */ > + sync_inodes(dev); > + DQUOT_SYNC(dev); > ^<==== ****All I did was to change this to DQUOT_SYNC_DEV(dev);**** > + /* if inodes or quotas could be dirtied during the > + ** sync_supers_lockfs call, the FS is responsible for getting > + ** them on disk, without deadlocking against the lock > + */ > + sync_supers_lockfs(dev) ; > + unlock_kernel(); > + > + return sync_buffers(dev, 1) ; > +} > + > asmlinkage long sys_sync(void) > { > fsync_dev(0); > > > On Thu, 28 Mar 2002 07:30, Nathan Scott wrote: > > Hello, > > > > On Wed, Mar 27, 2002 at 09:45:48AM +0100, Bas wrote: > > > Hi, > > > > > > It's not possible for me to build the kernel mentioned above. I saw the > > > new qouta options and suspect it has something to do with it, but I'm not > > > sure. > > > > > > Building everything goes fine, but at the end of the run it's not able to > > > produce a kernel because of DQUOT_SYNC. I don't have the exact error > > > here. > > > > Hmm... 20020327 - that's yesterday. DQUOT_SYNC doesn't appear in > > the source at all anymore (for awhile now), so I suspect the problem > > must be at your end. Try getting a fresh CVS copy and/or "make clean". > > [ The other patches you mentioned should not have anything to do with > > this problem. ] > > > > $ find . -type f | xargs fgrep DQUOT_SYNC > > ./fs/buffer.c: DQUOT_SYNC_SB(sb); > > ./fs/buffer.c: DQUOT_SYNC_DEV(dev); > > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) > > sync_dquots_dev(dev, -1) ./include/linux/quotaops.h:#define > > DQUOT_SYNC_SB(sb) sync_dquots_sb(sb, -1) > > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) do > > { } while(0) ./include/linux/quotaops.h:#define DQUOT_SYNC_SB(sb) > > do { } while(0) $ > > > > FWIW, DQUOT_SYNC used to come from include/linux/quotaops.h > > too, and its definition was also dependent on CONFIG_QUOTA. > > The reason you'd be getting an unresolved symbol would be a > > file referencing DQUOT_SYNC wasn't #include'ing quotaops.h; > > but thats all by-the-by - the real problem is related to the > > source you're using I suspect - it certainly doesn't match > > CVS of yesterday. > > > > cheers. > > -- > Adrian Head > > (Public Key available on request.) -- Nathan ^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) 2002-04-01 16:58 ` [linux-lvm] " Nathan Scott @ 2002-04-01 17:24 ` Adrian Head 2002-04-01 21:18 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS jtrostel 2002-04-02 12:54 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) Jan Kara 2 siblings, 0 replies; 6+ messages in thread From: Adrian Head @ 2002-04-01 17:24 UTC (permalink / raw) To: Nathan Scott; +Cc: Jan Kara, Bas, linux-xfs, linux-lvm On Tue, 2 Apr 2002 08:59, Nathan Scott wrote: > On Fri, Mar 29, 2002 at 10:26:41PM +1000, Adrian Head wrote: > > I have also run into the XFS CVS kernel compile failing because of an > > undefined DQUOT_SYNC. > > > > Using the information given by Nathan I have tracked down the offending > > patch that causes the problems. In my case it was the LVM VFS-lock patch > > from the Sistina LVM project. What they seem to do is use DQUOT_SYNC to > > force the writing of cached Quota infomation before they lock the VFS > > during snapshot creation. It would also seem that EVMS does the same > > thing. > > Aha, thanks for tracking this down Adrian. No worries - thanks for the original info that got me started in the correct direction. > > > I expect that the XFS CVS kernel tree is actually ahead of the standard > > 2.4.18 kernel tree in this respect so we'll have to wait until 2.4.19 is > > released with the updated API's before other projects update their kernel > > patches. > > Yes, the XFS trees contain all of the quota patches from: > ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ > > I wouldn't expect these patches to be in 2.4.19 -- they are > not in 2.5 yet and I think Jan is concentrating on that step > first. Fine - as I would expect. > > > Grep'ing through the kernel I have not been able to find any comments or > > explanations regarding this - so I have assumed that DQUOT_SYNC can be > > changed to DQUOT_SYNC_DEV without problems. > > Yes, by my understanding of the VFS quota subsystem that would > be the correct thing to do. Thanks - my concern at the time was whether DQUOT_SYNC_SB should be included as well. I had difficulty tracing it through so I took the easier way and assumed that it wasn't needed. ;-) > > > After making that change the kernel compiles cleanly and boots. I'm > > unsure as yet if I have done the correct thing here. Hopefuly someone > > will be able to help us out and correct me if I'm incorrect. > > I believe your change is correct, I've CC'd Jan in case there is > anything that I've overlooked. Thanks Nathan & Jan - if I don't get any feedback I will assume that everything is OK and I will post patches to the LVM list latter today explaining & fixing the issue with their VFS-lock patch. > > cheers. -- Adrian Head (Public Key available on request.) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS 2002-04-01 16:58 ` [linux-lvm] " Nathan Scott 2002-04-01 17:24 ` Adrian Head @ 2002-04-01 21:18 ` jtrostel 2002-04-01 21:38 ` Shawn Starr 2002-04-02 12:54 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) Jan Kara 2 siblings, 1 reply; 6+ messages in thread From: jtrostel @ 2002-04-01 21:18 UTC (permalink / raw) To: Nathan Scott; +Cc: linux-lvm, linux-xfs, Bas, Jan Kara, Adrian Head Sorry.... I should have been paying attention... I too found this last week when I was updating our XFS builds. I also just changed the DQUOT_SYNC(dev) to DQUOT_SYN_DEV(dev) and have not noticed any more strange manifestations from that. So... there's at least one more data point for you. On 01-Apr-2002 Nathan Scott wrote: > On Fri, Mar 29, 2002 at 10:26:41PM +1000, Adrian Head wrote: >> I have also run into the XFS CVS kernel compile failing because of an >> undefined DQUOT_SYNC. >> >> Using the information given by Nathan I have tracked down the offending >> patch >> that causes the problems. In my case it was the LVM VFS-lock patch from the >> Sistina LVM project. What they seem to do is use DQUOT_SYNC to force the >> writing of cached Quota infomation before they lock the VFS during snapshot >> creation. It would also seem that EVMS does the same thing. > > Aha, thanks for tracking this down Adrian. > >> I expect that the XFS CVS kernel tree is actually ahead of the standard >> 2.4.18 kernel tree in this respect so we'll have to wait until 2.4.19 is >> released with the updated API's before other projects update their kernel >> patches. > > Yes, the XFS trees contain all of the quota patches from: > ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ > > I wouldn't expect these patches to be in 2.4.19 -- they are > not in 2.5 yet and I think Jan is concentrating on that step > first. > >> Grep'ing through the kernel I have not been able to find any comments or >> explanations regarding this - so I have assumed that DQUOT_SYNC can be >> changed to DQUOT_SYNC_DEV without problems. > > Yes, by my understanding of the VFS quota subsystem that would > be the correct thing to do. > >> After making that change the kernel compiles cleanly and boots. I'm unsure >> as yet if I have done the correct thing here. Hopefuly someone will be able >> to help us out and correct me if I'm incorrect. > > I believe your change is correct, I've CC'd Jan in case there is > anything that I've overlooked. > > cheers. > > >> The offending part of the VF-lock patch follows below: >> >> Index: linus.21/fs/buffer.c >> --- linus.21/fs/buffer.c Mon, 28 Jan 2002 09:51:50 -0500 root >> (linux/i/45_buffer.c 1.5.2.6 644) >> +++ linus.21(w)/fs/buffer.c Mon, 28 Jan 2002 11:54:36 -0500 root >> (linux/i/45_buffer.c 1.5.2.6 644) >> @@ -361,6 +361,34 @@ >> fsync_dev(dev); >> } >> >> +int fsync_dev_lockfs(kdev_t dev) >> +{ >> + /* you are not allowed to try locking all the filesystems >> + ** on the system, your chances of getting through without >> + ** total deadlock are slim to none. >> + */ >> + if (!dev) >> + return fsync_dev(dev) ; >> + >> + sync_buffers(dev, 0); >> + >> + lock_kernel(); >> + /* note, the FS might need to start transactions to >> + ** sync the inodes, or the quota, no locking until >> + ** after these are done >> + */ >> + sync_inodes(dev); >> + DQUOT_SYNC(dev); >> ^<==== ****All I did was to change this to >> DQUOT_SYNC_DEV(dev);**** >> + /* if inodes or quotas could be dirtied during the >> + ** sync_supers_lockfs call, the FS is responsible for getting >> + ** them on disk, without deadlocking against the lock >> + */ >> + sync_supers_lockfs(dev) ; >> + unlock_kernel(); >> + >> + return sync_buffers(dev, 1) ; >> +} >> + >> asmlinkage long sys_sync(void) >> { >> fsync_dev(0); >> >> >> On Thu, 28 Mar 2002 07:30, Nathan Scott wrote: >> > Hello, >> > >> > On Wed, Mar 27, 2002 at 09:45:48AM +0100, Bas wrote: >> > > Hi, >> > > >> > > It's not possible for me to build the kernel mentioned above. I saw the >> > > new qouta options and suspect it has something to do with it, but I'm >> > > not >> > > sure. >> > > >> > > Building everything goes fine, but at the end of the run it's not able >> > > to >> > > produce a kernel because of DQUOT_SYNC. I don't have the exact error >> > > here. >> > >> > Hmm... 20020327 - that's yesterday. DQUOT_SYNC doesn't appear in >> > the source at all anymore (for awhile now), so I suspect the problem >> > must be at your end. Try getting a fresh CVS copy and/or "make clean". >> > [ The other patches you mentioned should not have anything to do with >> > this problem. ] >> > >> > $ find . -type f | xargs fgrep DQUOT_SYNC >> > ./fs/buffer.c: DQUOT_SYNC_SB(sb); >> > ./fs/buffer.c: DQUOT_SYNC_DEV(dev); >> > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) >> > sync_dquots_dev(dev, -1) ./include/linux/quotaops.h:#define >> > DQUOT_SYNC_SB(sb) sync_dquots_sb(sb, -1) >> > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) do >> > { } while(0) ./include/linux/quotaops.h:#define DQUOT_SYNC_SB(sb) >> > do { } while(0) $ >> > >> > FWIW, DQUOT_SYNC used to come from include/linux/quotaops.h >> > too, and its definition was also dependent on CONFIG_QUOTA. >> > The reason you'd be getting an unresolved symbol would be a >> > file referencing DQUOT_SYNC wasn't #include'ing quotaops.h; >> > but thats all by-the-by - the real problem is related to the >> > source you're using I suspect - it certainly doesn't match >> > CVS of yesterday. >> > >> > cheers. >> >> -- >> Adrian Head >> >> (Public Key available on request.) > > -- > Nathan -- John M. Trostel Senior Software Engineer Quantum Corp. / NASD jtrostel@snapserver.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS 2002-04-01 21:18 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS jtrostel @ 2002-04-01 21:38 ` Shawn Starr 0 siblings, 0 replies; 6+ messages in thread From: Shawn Starr @ 2002-04-01 21:38 UTC (permalink / raw) To: jtrostel; +Cc: Nathan Scott, linux-lvm, linux-xfs, Bas, Jan Kara, Adrian Head Had this as well. On Mon, 1 Apr 2002 jtrostel@snapserver.com wrote: > Sorry.... I should have been paying attention... I too found this last week > when I was updating our XFS builds. I also just changed the DQUOT_SYNC(dev) to > DQUOT_SYN_DEV(dev) and have not noticed any more strange manifestations from > that. > > So... there's at least one more data point for you. > > On 01-Apr-2002 Nathan Scott wrote: > > On Fri, Mar 29, 2002 at 10:26:41PM +1000, Adrian Head wrote: > >> I have also run into the XFS CVS kernel compile failing because of an > >> undefined DQUOT_SYNC. > >> > >> Using the information given by Nathan I have tracked down the offending > >> patch > >> that causes the problems. In my case it was the LVM VFS-lock patch from the > >> Sistina LVM project. What they seem to do is use DQUOT_SYNC to force the > >> writing of cached Quota infomation before they lock the VFS during snapshot > >> creation. It would also seem that EVMS does the same thing. > > > > Aha, thanks for tracking this down Adrian. > > > >> I expect that the XFS CVS kernel tree is actually ahead of the standard > >> 2.4.18 kernel tree in this respect so we'll have to wait until 2.4.19 is > >> released with the updated API's before other projects update their kernel > >> patches. > > > > Yes, the XFS trees contain all of the quota patches from: > > ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/v2.4/ > > > > I wouldn't expect these patches to be in 2.4.19 -- they are > > not in 2.5 yet and I think Jan is concentrating on that step > > first. > > > >> Grep'ing through the kernel I have not been able to find any comments or > >> explanations regarding this - so I have assumed that DQUOT_SYNC can be > >> changed to DQUOT_SYNC_DEV without problems. > > > > Yes, by my understanding of the VFS quota subsystem that would > > be the correct thing to do. > > > >> After making that change the kernel compiles cleanly and boots. I'm unsure > >> as yet if I have done the correct thing here. Hopefuly someone will be able > >> to help us out and correct me if I'm incorrect. > > > > I believe your change is correct, I've CC'd Jan in case there is > > anything that I've overlooked. > > > > cheers. > > > > > >> The offending part of the VF-lock patch follows below: > >> > >> Index: linus.21/fs/buffer.c > >> --- linus.21/fs/buffer.c Mon, 28 Jan 2002 09:51:50 -0500 root > >> (linux/i/45_buffer.c 1.5.2.6 644) > >> +++ linus.21(w)/fs/buffer.c Mon, 28 Jan 2002 11:54:36 -0500 root > >> (linux/i/45_buffer.c 1.5.2.6 644) > >> @@ -361,6 +361,34 @@ > >> fsync_dev(dev); > >> } > >> > >> +int fsync_dev_lockfs(kdev_t dev) > >> +{ > >> + /* you are not allowed to try locking all the filesystems > >> + ** on the system, your chances of getting through without > >> + ** total deadlock are slim to none. > >> + */ > >> + if (!dev) > >> + return fsync_dev(dev) ; > >> + > >> + sync_buffers(dev, 0); > >> + > >> + lock_kernel(); > >> + /* note, the FS might need to start transactions to > >> + ** sync the inodes, or the quota, no locking until > >> + ** after these are done > >> + */ > >> + sync_inodes(dev); > >> + DQUOT_SYNC(dev); > >> ^<==== ****All I did was to change this to > >> DQUOT_SYNC_DEV(dev);**** > >> + /* if inodes or quotas could be dirtied during the > >> + ** sync_supers_lockfs call, the FS is responsible for getting > >> + ** them on disk, without deadlocking against the lock > >> + */ > >> + sync_supers_lockfs(dev) ; > >> + unlock_kernel(); > >> + > >> + return sync_buffers(dev, 1) ; > >> +} > >> + > >> asmlinkage long sys_sync(void) > >> { > >> fsync_dev(0); > >> > >> > >> On Thu, 28 Mar 2002 07:30, Nathan Scott wrote: > >> > Hello, > >> > > >> > On Wed, Mar 27, 2002 at 09:45:48AM +0100, Bas wrote: > >> > > Hi, > >> > > > >> > > It's not possible for me to build the kernel mentioned above. I saw the > >> > > new qouta options and suspect it has something to do with it, but I'm > >> > > not > >> > > sure. > >> > > > >> > > Building everything goes fine, but at the end of the run it's not able > >> > > to > >> > > produce a kernel because of DQUOT_SYNC. I don't have the exact error > >> > > here. > >> > > >> > Hmm... 20020327 - that's yesterday. DQUOT_SYNC doesn't appear in > >> > the source at all anymore (for awhile now), so I suspect the problem > >> > must be at your end. Try getting a fresh CVS copy and/or "make clean". > >> > [ The other patches you mentioned should not have anything to do with > >> > this problem. ] > >> > > >> > $ find . -type f | xargs fgrep DQUOT_SYNC > >> > ./fs/buffer.c: DQUOT_SYNC_SB(sb); > >> > ./fs/buffer.c: DQUOT_SYNC_DEV(dev); > >> > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) > >> > sync_dquots_dev(dev, -1) ./include/linux/quotaops.h:#define > >> > DQUOT_SYNC_SB(sb) sync_dquots_sb(sb, -1) > >> > ./include/linux/quotaops.h:#define DQUOT_SYNC_DEV(dev) do > >> > { } while(0) ./include/linux/quotaops.h:#define DQUOT_SYNC_SB(sb) > >> > do { } while(0) $ > >> > > >> > FWIW, DQUOT_SYNC used to come from include/linux/quotaops.h > >> > too, and its definition was also dependent on CONFIG_QUOTA. > >> > The reason you'd be getting an unresolved symbol would be a > >> > file referencing DQUOT_SYNC wasn't #include'ing quotaops.h; > >> > but thats all by-the-by - the real problem is related to the > >> > source you're using I suspect - it certainly doesn't match > >> > CVS of yesterday. > >> > > >> > cheers. > >> > >> -- > >> Adrian Head > >> > >> (Public Key available on request.) > > > > -- > > Nathan > > -- > John M. Trostel > Senior Software Engineer > Quantum Corp. / NASD > jtrostel@snapserver.com > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) 2002-04-01 16:58 ` [linux-lvm] " Nathan Scott 2002-04-01 17:24 ` Adrian Head 2002-04-01 21:18 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS jtrostel @ 2002-04-02 12:54 ` Jan Kara 2 siblings, 0 replies; 6+ messages in thread From: Jan Kara @ 2002-04-02 12:54 UTC (permalink / raw) To: Nathan Scott; +Cc: Adrian Head, Bas, linux-xfs, linux-lvm > On Fri, Mar 29, 2002 at 10:26:41PM +1000, Adrian Head wrote: ... > > Grep'ing through the kernel I have not been able to find any comments or > > explanations regarding this - so I have assumed that DQUOT_SYNC can be > > changed to DQUOT_SYNC_DEV without problems. > > Yes, by my understanding of the VFS quota subsystem that would > be the correct thing to do. > > > After making that change the kernel compiles cleanly and boots. I'm unsure > > as yet if I have done the correct thing here. Hopefuly someone will be able > > to help us out and correct me if I'm incorrect. > > I believe your change is correct, I've CC'd Jan in case there is > anything that I've overlooked. The change looks OK. Honza -- Jan Kara <jack@suse.cz> SuSE CR Labs ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-04-02 12:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <004a01c1d56b$cae7cb50$3b00a8c0@aplabwp0368359>
[not found] ` <20020328083015.G47866@wobbly.melbourne.sgi.com>
2002-03-29 6:26 ` [linux-lvm] DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) Adrian Head
[not found] ` <200203291222.EAA25283@deliverator.sgi.com>
2002-04-01 16:58 ` [linux-lvm] " Nathan Scott
2002-04-01 17:24 ` Adrian Head
2002-04-01 21:18 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS jtrostel
2002-04-01 21:38 ` Shawn Starr
2002-04-02 12:54 ` [linux-lvm] Re: DQUOT_SYNC undefined in XFS CVS kernel (was: Can't build CVS kernels of 20020321 & 20020327) Jan Kara
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox