login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
7
Re: [PATCH 1/3] Add flag to identify block swap devices
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: jassi brar
Subject:
Re: [PATCH 1/3] Add flag to identify block swap devices
Date: Friday, May 7, 2010 - 1:03 am
On Fri, May 7, 2010 at 4:25 PM, Nitin Gupta <ngupta@vflare.org> wrote:
quoted text
> Added SWP_BLKDEV flag to distinguish block and regular file backed > swap devices. We could also check if a swap is entire block device, > rather than a file, by: > S_ISBLK(swap_info_struct->swap_file->f_mapping->host->i_mode) > but, I think, simply checking this flag is more convenient.
This might make it convenient for now but is likely to increase complexity and redundancy. Why not define a macro/inline to figure that out? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/3] ramzswap: Eliminate stale data from compressed ...
, Nitin Gupta
, (Fri May 7, 12:25 am)
[PATCH 1/3] Add flag to identify block swap devices
, Nitin Gupta
, (Fri May 7, 12:25 am)
[PATCH 2/3] Add swap slot free callback to block_device_op ...
, Nitin Gupta
, (Fri May 7, 12:25 am)
[PATCH 3/3] ramzswap: Handler for swap slot free callback
, Nitin Gupta
, (Fri May 7, 12:25 am)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Pekka Enberg
, (Fri May 7, 12:44 am)
Re: [PATCH 1/3] Add flag to identify block swap devices
, jassi brar
, (Fri May 7, 1:03 am)
Re: [PATCH 1/3] Add flag to identify block swap devices
, Nitin Gupta
, (Fri May 7, 1:16 am)
Re: [PATCH 1/3] Add flag to identify block swap devices
, jassi brar
, (Fri May 7, 1:56 am)
Re: [PATCH 2/3] Add swap slot free callback to block_devic ...
, Nigel Cunningham
, (Fri May 7, 2:22 am)
Re: [PATCH 1/3] Add flag to identify block swap devices
, Pekka Enberg
, (Fri May 7, 2:24 am)
Re: [PATCH 1/3] Add flag to identify block swap devices
, Nigel Cunningham
, (Fri May 7, 2:32 am)
Re: [PATCH 2/3] Add swap slot free callback to block_devic ...
, Nitin Gupta
, (Fri May 7, 2:48 am)
Re: [PATCH 2/3] Add swap slot free callback to block_devic ...
, Nigel Cunningham
, (Fri May 7, 3:40 am)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Linus Torvalds
, (Fri May 7, 7:51 am)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Andrew Morton
, (Fri May 7, 12:55 pm)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Nitin Gupta
, (Fri May 7, 9:05 pm)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Pekka Enberg
, (Fri May 7, 11:29 pm)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Nitin Gupta
, (Fri May 7, 11:57 pm)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Pekka Enberg
, (Sat May 8, 12:05 am)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Pekka Enberg
, (Sat May 8, 12:26 am)
Re: [PATCH 0/3] ramzswap: Eliminate stale data from compre ...
, Nitin Gupta
, (Sat May 8, 12:32 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
<