search for: sync_mod

Displaying 8 results from an estimated 8 matches for "sync_mod".

Did you mean: sync_mode
2006 Oct 01
11
Mongrel woes fixed
...rt_on_exception = true thread[:started_on] = Time.now @workers.add(thread) -------------- next part -------------- --- sync.rb Sun Oct 1 21:02:28 2006 +++ sync.new.rb Sun Oct 1 21:05:28 2006 @@ -131,8 +131,10 @@ def sync_try_lock(mode = EX) return unlock if sync_mode == UN + print_critical("sync_try_lock", "1", "true") Thread.critical = true ret = sync_try_lock_sub(sync_mode) + print_critical("sync_try_lock", "2", "false") Thread.critical = false ret end @@ -140,22 +...
2023 Mar 07
3
remove most callers of write_one_page v4
Hi all, this series removes most users of the write_one_page API. These helpers internally call ->writepage which we are gradually removing from the kernel. Changes since v3: - drop all patches merged in v6.3-rc1 - re-add the jfs patch Changes since v2: - more minix error handling fixes Changes since v1: - drop the btrfs changes (queue up in the btrfs tree) - drop the finaly move to
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...-01-04 19:58:48.000000000 +0900 @@ -557,8 +557,9 @@ * dirty. This is primarily needed by knfsd. */ -void write_inode_now(struct inode *inode, int sync) +int write_inode_now(struct inode *inode, int sync) { + int err = 0; struct writeback_control wbc = { .nr_to_write = LONG_MAX, .sync_mode = WB_SYNC_ALL, @@ -569,10 +570,11 @@ might_sleep(); spin_lock(&inode_lock); - __writeback_single_inode(inode, &wbc); + err = __writeback_single_inode(inode, &wbc); spin_unlock(&inode_lock); if (sync) wait_on_inode(inode); + return err; } EXPORT_SYMBOL(write_ino...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...he on restore + * (which loses the context of the original device + * instance). However, we still suggest syncing the + * diff so that we can get within the target range. + */ + s64 nr_to_write = + (!config_pages(vb) ? LONG_MAX : -diff); + struct writeback_control wbc = { + .sync_mode = WB_SYNC_ALL, + .nr_to_write = nr_to_write, + .range_start = 0, + .range_end = LLONG_MAX, + }; + sync_inode(&the_inode.inode, &wbc); + } + update_balloon_size(vb); + } + return 0; +} + +static ssize_t virtballoon_attr_show(struct device *dev, + struct device_attribu...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...he on restore + * (which loses the context of the original device + * instance). However, we still suggest syncing the + * diff so that we can get within the target range. + */ + s64 nr_to_write = + (!config_pages(vb) ? LONG_MAX : -diff); + struct writeback_control wbc = { + .sync_mode = WB_SYNC_ALL, + .nr_to_write = nr_to_write, + .range_start = 0, + .range_end = LLONG_MAX, + }; + sync_inode(&the_inode.inode, &wbc); + } + update_balloon_size(vb); + } + return 0; +} + +static ssize_t virtballoon_attr_show(struct device *dev, + struct device_attribu...
2016 Jun 01
15
[PATCH 00/15] clk/tegra: improve code and add DFS support
This series adds support for GM20B PLL's Maxwell features, namely glitchless switch and (more importantly) DFS support. DFS lets the PLL lower its output speed according to input current variations, making the clock more stable and allowing it to run safely at lower voltage. All GM20B additions are done in the last patch, which consequently ends up being considerably big ; fortunately, it
2012 Jul 25
0
No subject
...range. > >> + */ > >> + s64 nr_to_write = > >> + (!config_pages(vb) ? LONG_MAX : -diff); > >> + struct writeback_control wbc = { > >> + .sync_mode = WB_SYNC_ALL, > >> + .nr_to_write = nr_to_write, > >> + .range_start = 0, > >> + .range_end = LLONG_MAX, > >> + }; > >> + sync_i...
2012 Jul 25
0
No subject
...range. > >> + */ > >> + s64 nr_to_write = > >> + (!config_pages(vb) ? LONG_MAX : -diff); > >> + struct writeback_control wbc = { > >> + .sync_mode = WB_SYNC_ALL, > >> + .nr_to_write = nr_to_write, > >> + .range_start = 0, > >> + .range_end = LLONG_MAX, > >> + }; > >> + sync_i...