Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 3475] New: Calling sync on large filesystems when not always necessary
@ 2011-03-11 16:20 bugzilla at busybox.net
  2011-03-11 16:22 ` [Buildroot] [Bug 3475] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-03-11 16:20 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=3475

           Summary: Calling sync on large filesystems when not always
                    necessary
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: orionrobots at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


When using build root to cross compile for other devices, especially when doing
many builds (multiple targets), on a CI system with 10s of gigs of ram and many
intermediate targets, then sync is not really desirable here.

The makedevs step makes a call to /bin/sync.

I am suggesting a "--nosync" be introduced so buildroot will not sync the
drives then? While of course preserving existing behaviour for the majority
that don't find any problems.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 3475] Calling sync on large filesystems when not always necessary
  2011-03-11 16:20 [Buildroot] [Bug 3475] New: Calling sync on large filesystems when not always necessary bugzilla at busybox.net
@ 2011-03-11 16:22 ` bugzilla at busybox.net
  2011-03-11 23:18 ` bugzilla at busybox.net
  2011-03-12 21:29 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-03-11 16:22 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=3475

--- Comment #1 from Danny Staple <orionrobots@gmail.com>  ---
For info - this sync is called as a shell out to "/bin/sync" in makedevs.c.


if (system("/bin/sync"))
        bb_error_msg("sync failed, continuing anyway");

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 3475] Calling sync on large filesystems when not always necessary
  2011-03-11 16:20 [Buildroot] [Bug 3475] New: Calling sync on large filesystems when not always necessary bugzilla at busybox.net
  2011-03-11 16:22 ` [Buildroot] [Bug 3475] " bugzilla at busybox.net
@ 2011-03-11 23:18 ` bugzilla at busybox.net
  2011-03-12 21:29 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-03-11 23:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=3475

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org>  ---
I think it makes more sense to simply get rid of the sync. There's no real
reason why we would need to sync in the first place.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 3475] Calling sync on large filesystems when not always necessary
  2011-03-11 16:20 [Buildroot] [Bug 3475] New: Calling sync on large filesystems when not always necessary bugzilla at busybox.net
  2011-03-11 16:22 ` [Buildroot] [Bug 3475] " bugzilla at busybox.net
  2011-03-11 23:18 ` bugzilla at busybox.net
@ 2011-03-12 21:29 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2011-03-12 21:29 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=3475

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org>  ---
Removed in git, thanks

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-12 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11 16:20 [Buildroot] [Bug 3475] New: Calling sync on large filesystems when not always necessary bugzilla at busybox.net
2011-03-11 16:22 ` [Buildroot] [Bug 3475] " bugzilla at busybox.net
2011-03-11 23:18 ` bugzilla at busybox.net
2011-03-12 21:29 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox